The first one that is matched wins. That's quite straight-forward, no? What is the difference between these two routes?
Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 10 May 2013 05:12, Xander Guzman <thesha...@shadowpedia.info> wrote: > 'child_routes' => array( > 'updates-view' => array( > 'type' => > 'Zend\Mvc\Router\Http\Segment', > 'options' => array( > 'route' => '/:title', > 'defaults' => array( > 'action' => 'view', > ), > ), > ), > 'updates-action' => array( > 'type' => > 'Zend\Mvc\Router\Http\Segment', > 'options' => array( > 'route' => '/:action', > ), > ), > ), > > I have a need for the following two routes (elipses added to denote > previous segments) > /.../updates/:action => routes to the controller action specified > /.../updates/:title => when the action isn't valid it falls back to > routing to a view action > > I can get one or the other to work but not both at the same time, any help? >