I need to create some module specific routes, but without explicitly mentioning module name in route. Right now I have separate config file for each module (MODULE/configs/module.ini) and in the module bootstrap I push those routes into Zend Framework. The INI file holds routes information but it mention the module name in the route. e.g.
routes.contents.route = "Contents/(.*)"
routes.contents.defaults.module = Contents
routes.contents.defaults.controller = index
routes.contents.defaults.action = index
+other details regarding the route.
You can see that the module name ("Contents") is explicitly mentioned in the route. What I want is that in the routes I just mention the portion after the module name and it automatically prepend the module name before the route. So later if I rename the module to lets say CMS, I don't ve to change every route into "CMS/xxxx".