Zend router config xml, shortcut?

omercnet

New Member
I have an xml like this\[code\]<configdata> <routes> <home type="Zend_Controller_Router_Route"> <route>home</route> <defaults> <controller>index</controller> <action>index</action> </defaults> </home> </routes></configdata>\[/code\]Now this works but I'd like to give each rout a shortcut like you would add in bootstrap like this..\[code\]$router->addRoute('shortcut_key',$route);\[/code\]How can I do this in the config xml?
 
Top