Zend router config xml, shortcut?

By : def
Source: Stackoverflow.com

I have an xml like this

        <home type="Zend_Controller_Router_Route">

Now this works but I'd like to give each rout a shortcut like you would add in bootstrap like this..


How can I do this in the config xml?

By : def


On your bootsrap.php...

protected function _initRoutes()
  $routefile = new Zend_Config_Xml(APPLICATION_PATH.'/routes.xml');
  $router = Zend_Controller_Front::getInstance()-
By : coolguy

This video can help you solving your question :)
By: admin