change class controller inheritance
This commit is contained in:
@@ -23,9 +23,7 @@
|
||||
|
||||
namespace Thelia\Admin\Controller;
|
||||
|
||||
use Thelia\Controller\BaseController;
|
||||
|
||||
class AdminController extends BaseController {
|
||||
class AdminController extends BaseAdminController {
|
||||
|
||||
public function indexAction()
|
||||
{
|
||||
|
||||
@@ -26,9 +26,8 @@ namespace Thelia\Admin\Controller;
|
||||
use Thelia\Model\CategoryQuery;
|
||||
use Thelia\Core\Security\Exception\AuthenticationException;
|
||||
use Thelia\Core\Security\Exception\AuthorizationException;
|
||||
use Thelia\Controller\BaseController;
|
||||
|
||||
class CategoryController extends BaseController {
|
||||
class CategoryController extends BaseAdminController {
|
||||
|
||||
protected function createNewCategory($args) {
|
||||
$this->dispatchEvent("createCategory");
|
||||
|
||||
@@ -32,9 +32,8 @@ use Symfony\Component\Validator\Exception\ValidatorException;
|
||||
use Thelia\Tools\URL;
|
||||
use Thelia\Tools\Redirect;
|
||||
use Thelia\Core\Event\TheliaEvents;
|
||||
use Thelia\Controller\BaseController;
|
||||
|
||||
class SessionController extends BaseController {
|
||||
class SessionController extends BaseAdminController {
|
||||
|
||||
public function showLoginAction()
|
||||
{
|
||||
|
||||
@@ -29,7 +29,7 @@ use Thelia\Core\Security\SecurityContext;
|
||||
use Thelia\Model\Customer;
|
||||
use Thelia\Core\Event\TheliaEvents;
|
||||
|
||||
class CustomerController extends BaseController {
|
||||
class CustomerController extends BaseFrontController {
|
||||
|
||||
public function createAction()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user