Archived
1
0
Fork 0

Make the about-page dynamic by fetching data from db.

This commit is contained in:
Henrik Hautakoski 2010-11-16 19:12:45 +01:00
parent c8b44d6345
commit 3bc1f62535
6 changed files with 51 additions and 6 deletions

View file

@ -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()