Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 'default' => array(
- 'type' => 'Zend\Mvc\Router\Http\Segment',
- 'options' => array(
- 'route' => '/[:controller[/:action]]',
- 'constraints' => array(
- 'controller' => '[a-zA-Z][a-zA-Z0-9_-]*',
- 'action' => '[a-zA-Z][a-zA-Z0-9_-]*',
- ),
- 'defaults' => array(
- 'controller' => 'index',
- 'action' => 'index',
- ),
- ),
- 'child_routes' => array(
- 'params' => array(
- 'type' => 'Zend\Mvc\Router\Http\Wildcard',
- ... ?
- ),
- ),
- ),
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement