This commit is contained in:
Manuel Raynaud
2014-01-22 12:52:36 +01:00
parent 9d1c1e3979
commit 1974d3e3c3
1201 changed files with 80 additions and 88 deletions

View File

0
core/lib/Thelia/Controller/Admin/AdminController.php Executable file → Normal file
View File

View File

@@ -56,11 +56,13 @@ class BaseAdminController extends BaseController
*/
private $currentRouter = "router.admin";
protected function getCurrentRouter() {
protected function getCurrentRouter()
{
return $this->currentRouter;
}
protected function setCurrentRouter($routerId) {
protected function setCurrentRouter($routerId)
{
$this->currentRouter = $routerId;
}

View File

View File

@@ -242,6 +242,7 @@ class ContentController extends AbstractSeoCrudController
if (null !== $content) {
$content->setLocale($this->getCurrentEditionLocale());
}
return $content;
}

0
core/lib/Thelia/Controller/Admin/CouponController.php Executable file → Normal file
View File

0
core/lib/Thelia/Controller/Admin/FileController.php Executable file → Normal file
View File

View File

@@ -205,6 +205,7 @@ class FolderController extends AbstractSeoCrudController
if (null !== $folder) {
$folder->setLocale($this->getCurrentEditionLocale());
}
return $folder;
}

0
core/lib/Thelia/Controller/Admin/SessionController.php Executable file → Normal file
View File

0
core/lib/Thelia/Controller/BaseController.php Executable file → Normal file
View File

View File

0
core/lib/Thelia/Controller/Front/DefaultController.php Executable file → Normal file
View File