Ongoing work on the blog module
This commit is contained in:
parent
e1458a9a45
commit
17c5c48950
13 changed files with 98 additions and 40 deletions
|
|
@ -143,11 +143,10 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
|
|||
|
||||
|
||||
// Routes for blog module
|
||||
$router->addRoute('blog',new Zend_Controller_Router_Route(':lang/blog/:controller/:action/:id',array(
|
||||
$router->addRoute('blog',new Zend_Controller_Router_Route(':lang/blog/:controller/:action/*',array(
|
||||
'module' => 'blog',
|
||||
'controller' => 'index',
|
||||
'action' => 'index',
|
||||
'id' => ''
|
||||
)));
|
||||
$router->addRoute('blog-default',new Zend_Controller_Router_Route(':lang/blog/:action/:id',array(
|
||||
'module' => 'blog',
|
||||
|
|
|
|||
Reference in a new issue