On Thu, Aug 13, 2009 at 1:32 AM, debussy007 <[email protected]> wrote:
>
> In that case one must update the doc:
> *****
> The following route more-or-less mimics the Module route behavior:
> $route = new Zend_Controller_Router_Route(
> ':module/:controller/:action/*',
> array('module' => 'default')
> );
> $router->addRoute('default', $route);
> *****
> this will not match /services/web-development (using the default module)
> for
> example
> :module will be services and :controller will be web-development
>
Actually, that route would not catch. The action has not been defined.
Just drop module from the route and it will map services to the controller
and web-development to the action.
- pw