6 'type' => 'Zend\Mvc\Router\Http\Literal',
10 'controller' => 'Application\Controller\IndexController',
15 // The following is a route to simplify getting started creating
16 // new controllers and actions without needing to create a new
17 // module. Simply drop new controllers in, and you can access them
18 // using the path /application/:controller/:action
19 'application' => array(
22 'route' => '/application',
24 '__NAMESPACE__' => 'Application\Controller',
25 'controller' => 'IndexController',
29 'may_terminate' => true,
30 'child_routes' => array(
34 'route' => '/[:controller[/:action]]',
35 'constraints' => array(
36 'controller' => '[a-zA-Z][a-zA-Z0-9_-]*',
37 'action' => '[a-zA-Z][a-zA-Z0-9_-]*',
47 'controller' => array(
49 'Application\Controller\IndexController' => 'Application\Controller\IndexController'
52 'view_manager' => array(
53 'display_not_found_reason' => true,
54 'display_exceptions' => true,
56 'not_found_template' => 'error/404',
57 'exception_template' => 'error/index',
58 'template_map' => array(
59 'layout/layout' => __DIR__ . '/../view/layout/layout.phtml',
60 'application/index/index' => __DIR__ . '/../view/application/index/index.phtml',
61 'error/404' => __DIR__ . '/../view/error/404.phtml',
62 'error/index' => __DIR__ . '/../view/error/index.phtml',
64 'template_path_stack' => array(