]> dev.renevier.net Git - syj.git/blobdiff - application/controllers/AccountController.php
cache js, css and png files
[syj.git] / application / controllers / AccountController.php
index c79b4769cc84439a4fe273838d2e20c0b25c96d8..9db12047c197b87330754f9013ad04e269a7ec3c 100644 (file)
@@ -8,10 +8,8 @@ class AccountController extends Zend_Controller_Action
     public function init() {
         $this->_helper->SyjUserManager->needsLogin();
         $this->_helper->SyjMedias->addScripts('account');
+        $this->_helper->SyjMedias->addStyleSheets('account');
 
-        $this->view->headLink()->appendStylesheet('css/generic.css', 'all');
-        $this->view->headLink()->appendStylesheet('css/form.css', 'all');
-        $this->view->headLink()->appendStylesheet('css/account.css', 'all');
         $this->view->headTitle($this->view->translate("my account"));
     }