Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 'router' => array(
- 'routes' => array(
- 'zfcadmin' => array(
- 'type' => 'literal',
- 'options' => array(
- 'route' => '/admin',
- 'defaults' => array(
- 'controller' => 'ZfcAdmin\Controller\AdminController',
- 'action' => 'index',
- ),
- ),
- 'may_terminate' => true,
- 'child_routes' => array(
- 'albums' => array(
- 'type' => 'literal',
- 'options' => array(
- 'route' => '/albums',
- 'defaults' => array(
- 'controller' => 'Album\Controller\Album',
- 'action' => 'index',
- ),
- ),
- 'child_routes' => array(
- 'test' => array(
- 'type' => 'literal',
- 'options' => array(
- 'route' => '/test',
- 'defaults' => array(
- 'controller' => 'Album\Controller\Album',
- 'action' => 'index',
- ),
- ),
- 'may_terminate' => true,
- ),
- ),
- ),
- ),
- ),
- ),
- ),
Add Comment
Please, Sign In to add comment