]> dev.renevier.net Git - syj.git/blobdiff - application/controllers/TermsofuseController.php
cache js, css and png files
[syj.git] / application / controllers / TermsofuseController.php
index a1278bb645137f36ca225c584a008b24fa02aa0b..20b99e2ee2d0654b10282505cef1b284d93ff38b 100644 (file)
@@ -5,8 +5,7 @@
 class TermsofuseController extends Zend_Controller_Action
 {
     public function indexAction() {
-        $this->view->headLink()->appendStylesheet('css/generic.css', 'all');
-        $this->view->headLink()->appendStylesheet('css/termsofuse.css', 'all');
+        $this->_helper->SyjMedias->addStyleSheets('termsofuse');
         $this->view->headTitle($this->view->translate("terms of use"));
         $this->view->rawmode = ($this->getRequest()->getQuery('format') == 'raw');
     }