]> dev.renevier.net Git - syj.git/blobdiff - application/controllers/AccountController.php
list of javascript files set in config
[syj.git] / application / controllers / AccountController.php
index c9c986ecba33ff6741ae1526acfb6c5344f892b1..5f20cc73849b863932ed287f6a8676abaf044945 100644 (file)
@@ -7,10 +7,8 @@ class AccountController extends Zend_Controller_Action
 
     public function init() {
         $this->_helper->SyjSession->needsLogin();
+        $this->_helper->SyjMedias->addScripts('account');
 
-        $this->view->headScript()->appendFile('js/prototype.js');
-        $this->view->headScript()->appendFile('js/utils.js');
-        $this->view->headScript()->appendFile('js/account.js');
         $this->view->headLink()->appendStylesheet('css/generic.css', 'all');
         $this->view->headLink()->appendStylesheet('css/account.css', 'all');
         $this->view->headTitle($this->view->translate("my account"));