]> dev.renevier.net Git - syj.git/blobdiff - application/controllers/FaqController.php
cache js, css and png files
[syj.git] / application / controllers / FaqController.php
index 1cd46228f048856179d0b25ba46bc53e2f6aab18..a215cf58f1a628b30c57d5471844e6866c09e834 100644 (file)
@@ -1,12 +1,11 @@
 <?php
-/*  This file is part of Syj, Copyright (c) 2010 Arnaud Renevier,
+/*  This file is part of Syj, Copyright (c) 2010-2011 Arnaud Renevier,
     and is published under the AGPL license. */
 
 class FaqController extends Zend_Controller_Action
 {
     public function indexAction() {
-        $this->view->headLink()->appendStylesheet('css/generic.css', 'all');
-        $this->view->headLink()->appendStylesheet('css/faq.css', 'all');
+        $this->_helper->SyjMedias->addStyleSheets('faq');
         $this->view->headTitle($this->view->translate("Frequently asked questions"));
     }
 }