Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • Is it possible to do it in the application.ini with the regex router :P as i need all modules to be routed the same way. Commented Nov 25, 2010 at 17:43
  • Thanks but I cannot seem to get variables in the used controller.. example: resources.router.routes.module-admin-router.route = "admin/:module/:controller/:action" resources.router.routes.module-admin-router.defaults.controller = "admin-:controller" Does not work :( Commented Nov 25, 2010 at 21:08
  • It will not work. You can't inject variables like that, unfortunately. This route probably needs to be converted into a Regex route in order to do more complicated matching. Commented Nov 25, 2010 at 21:21