X-Git-Url: https://dev.renevier.net/?a=blobdiff_plain;f=application%2Fcontrollers%2FListController.php;h=e94088383fba22f336eb663ea2ed9e4bd4749094;hb=c06c7fd6e6f26d31abb8d7c9a9f9e3f2d5b27d5c;hp=9dfac813582fb20222363dbd0fca0576d0f5867a;hpb=1f6105289a49079809c2a4677b561bc82c62db88;p=syj.git diff --git a/application/controllers/ListController.php b/application/controllers/ListController.php index 9dfac81..e940883 100644 --- a/application/controllers/ListController.php +++ b/application/controllers/ListController.php @@ -6,17 +6,16 @@ class ListController extends Zend_Controller_Action { public function init() { - $this->_helper->SyjSession->needsLogin(); + $this->_helper->SyjUserManager->needsLogin(); $this->_helper->SyjMedias->addScripts('list'); + $this->_helper->SyjMedias->addStyleSheets('list'); - $this->view->headLink()->appendStylesheet('css/generic.css', 'all'); - $this->view->headLink()->appendStylesheet('css/list.css', 'all'); $this->view->headTitle($this->view->translate("my routes")); } public function indexAction() { - $user = $this->_helper->SyjSession->user(); + $user = $this->_helper->SyjUserManager->current(); $pathMapper = new Syj_Model_PathMapper(); $list = $pathMapper->fetchByCreator($user); $paginator = Zend_Paginator::factory($list);