change class controller inheritance

This commit is contained in:
Manuel Raynaud
2013-08-12 16:59:15 +02:00
parent 071a4c17bc
commit 086f73aeca
4 changed files with 4 additions and 8 deletions

View File

@@ -23,9 +23,7 @@
namespace Thelia\Admin\Controller; namespace Thelia\Admin\Controller;
use Thelia\Controller\BaseController; class AdminController extends BaseAdminController {
class AdminController extends BaseController {
public function indexAction() public function indexAction()
{ {

View File

@@ -26,9 +26,8 @@ namespace Thelia\Admin\Controller;
use Thelia\Model\CategoryQuery; use Thelia\Model\CategoryQuery;
use Thelia\Core\Security\Exception\AuthenticationException; use Thelia\Core\Security\Exception\AuthenticationException;
use Thelia\Core\Security\Exception\AuthorizationException; use Thelia\Core\Security\Exception\AuthorizationException;
use Thelia\Controller\BaseController;
class CategoryController extends BaseController { class CategoryController extends BaseAdminController {
protected function createNewCategory($args) { protected function createNewCategory($args) {
$this->dispatchEvent("createCategory"); $this->dispatchEvent("createCategory");

View File

@@ -32,9 +32,8 @@ use Symfony\Component\Validator\Exception\ValidatorException;
use Thelia\Tools\URL; use Thelia\Tools\URL;
use Thelia\Tools\Redirect; use Thelia\Tools\Redirect;
use Thelia\Core\Event\TheliaEvents; use Thelia\Core\Event\TheliaEvents;
use Thelia\Controller\BaseController;
class SessionController extends BaseController { class SessionController extends BaseAdminController {
public function showLoginAction() public function showLoginAction()
{ {

View File

@@ -29,7 +29,7 @@ use Thelia\Core\Security\SecurityContext;
use Thelia\Model\Customer; use Thelia\Model\Customer;
use Thelia\Core\Event\TheliaEvents; use Thelia\Core\Event\TheliaEvents;
class CustomerController extends BaseController { class CustomerController extends BaseFrontController {
public function createAction() public function createAction()
{ {