Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ctrl = Zend_Controller_Front::getInstance();
- $router = $ctrl->getRouter();
- //Create routes
- $router->addRoute('neighbourNews', new Zend_Controller_Router_Route(
- 'page/:pageId/:articleId',
- array('controller' => 'news',
- 'action' => 'neighbour',
- 'pageId' => '0', 'articleId' => '0')));
Add Comment
Please, Sign In to add comment