Hi All, I have a route defined for a url shortener project I am working on, which partially works, but I cant get to the bottom of something, route is defined as follows:
resources.router.routes.shortRoute.type = "Zend_Controller_Router_Route" resources.router.routes.shortRoute.route = ":shortpart" resources.router.routes.shortRoute.defaults.action = "index" resources.router.routes.shortRoute.defaults.controller = "index" If :shortpart is numeric, the route behaves as expected, and dispatches the indexAction of IndexController with it as a request parameter, however if there is a letter for :shortpart it throws an exception about the controller not being defined. Is there a way I can override this behaviour so that it always dispatches to the correct action? It would be major pain if I had to drop zend_controller as a result of this, so I¹m hoping someone more knowledgeable than I has a solution! Thanks in advance. Nick
