Make the about-page dynamic by fetching data from db.
This commit is contained in:
parent
c8b44d6345
commit
3bc1f62535
6 changed files with 51 additions and 6 deletions
|
|
@ -23,7 +23,9 @@ class IndexController extends Fiktiv_Controller_Action
|
|||
|
||||
public function aboutAction()
|
||||
{
|
||||
$lang = Zend_Registry::get('Zend_Translate')->getLocale();
|
||||
|
||||
$this->view->content = $this->dataService->About->getContent($lang);
|
||||
}
|
||||
|
||||
public function test()
|
||||
|
|
|
|||
Reference in a new issue