You can only replace the default route... why not have 2 routes? -- Hector
On Fri, Mar 5, 2010 at 11:53 AM, asagala <[email protected]> wrote: > > ok but the code you provided creates a pages route. I want it to be applied > to the default route. > > I changed your code to this: > resources.router.routes.default.type = "Zend_Controller_Router_Route_Regex" > resources.router.routes.default.route = "([a-zA-Z0-9-]+).html" > resources.router.routes.default.defaults.controller = "pages" > resources.router.routes.default.defaults.action = "index" > resources.router.routes.default.map.1 = "name" > resources.router.routes.default.reverse = "%s.html" > > still no luck. > > I want your above logic to be applied to the default route not the pages > route. > > -- > View this message in context: > http://n4.nabble.com/Zend-routing-can-this-logic-be-done-tp1580002p1580046.html > Sent from the Zend Framework mailing list archive at Nabble.com. >
