The routes in my Bootstrap are as follows:
protected function _initRoutes() { $router = Zend_Controller_Front::getInstance ()->getRouter (); $router->addRoute('rest_url', new Zend_Controller_Router_Route('version/:param1/:param2/', array( 'module'=>'ModuleName', 'controller' => 'ControllerName', 'action' => 'ActionName', 'param1' => 'default here if you want', 'param2' => 'can leave param1 and param2 blank here'))); }
So I always worked with routes.
source share