Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 'application' => array(
- 'type' => 'Literal',
- 'options' => array(
- 'route' => '/application',
- 'defaults' => array(
- '__NAMESPACE__' => 'Application\Controller',
- 'controller' => 'Index',
- 'action' => 'index',
- ),
- ),
- 'may_terminate' => true,
- 'child_routes' => array(
- 'default' => array(
- 'type' => '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(
- ),
- ),
- ),
- ),
- ),
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement