Moving about page to a PageController for static pages.
This commit is contained in:
parent
b873ab29c8
commit
9a68a04790
6 changed files with 24 additions and 19 deletions
11
application/modules/default/controllers/PageController.php
Normal file
11
application/modules/default/controllers/PageController.php
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<?php
|
||||
|
||||
class PageController extends Zend_Controller_Action
|
||||
{
|
||||
public function indexAction()
|
||||
{
|
||||
$page = $this->_getParam('page', 'index');
|
||||
|
||||
$this->render($page);
|
||||
}
|
||||
}
|
||||
Reference in a new issue