Zend modules: How to fix routes for actions in modules?
I am refactoring my code for splitting in to Modules.
I had before http://my.site/bug/list
After moving the bugController to /application/modules/Bug
I have now: http://my.site/Bug/index/list
How to configure the routes 开发者_StackOverflow社区in order to have: http://my.site/Bug/list
thanks Arman.
You could create a "list" controller inside Bug module and move all code of old bug::list action into new Bug::list::index action. Another way is to deal with route definitions, but this way is harder.
精彩评论