6 'type' => 'Zend\Mvc\Router\Http\Literal',
10 'controller' => 'Application\Controller\Index',
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' => 'Index',
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 'service_manager' => array(
49 'translator' => 'Zend\I18n\Translator\TranslatorServiceFactory',
52 'translator' => array(
54 'translation_patterns' => array(
57 'base_dir' => __DIR__ . '/../language',
62 'controllers' => array(
63 'invokables' => array(
64 'Application\Controller\Index' => 'Application\Controller\IndexController'
67 'view_manager' => array(
68 'display_not_found_reason' => true,
69 'display_exceptions' => true,
71 'not_found_template' => 'error/404',
72 'exception_template' => 'error/index',
73 'template_map' => array(
74 'layout/layout' => __DIR__ . '/../view/layout/layout.phtml',
75 'application/index/index' => __DIR__ . '/../view/application/index/index.phtml',
76 'error/404' => __DIR__ . '/../view/error/404.phtml',
77 'error/index' => __DIR__ . '/../view/error/index.phtml',
79 'template_path_stack' => array(