'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?

Reply via email to