Updated configuration to follow view-layer
authorMatthew Weier O'Phinney <matthew@zend.com>
Tue, 14 Feb 2012 04:29:34 +0000 (22:29 -0600)
committerMatthew Weier O'Phinney <matthew@zend.com>
Tue, 14 Feb 2012 04:29:34 +0000 (22:29 -0600)
- names of templates should not include file suffix
- corrected parameter names for exception, no route strategies

module/Application/config/module.config.php

index e6f4afa..02a7061 100644 (file)
@@ -49,18 +49,18 @@ return array(
             ),
             'Zend\Mvc\View\DefaultRenderingStrategy' => array(
                 'parameters' => array(
-                    'baseTemplate' => 'layout/layout.phtml',
+                    'baseTemplate' => 'layout/layout',
                 ),
             ),
             'Zend\Mvc\View\ExceptionStrategy' => array(
                 'parameters' => array(
                     'displayExceptions' => true,
-                    'errorTemplate'     => 'error/index.phtml',
+                    'template'          => 'error/index',
                 ),
             ),
             'Zend\Mvc\View\RouteNotFoundStrategy' => array(
                 'parameters' => array(
-                    'notFoundTemplate' => 'error/404.phtml',
+                    'notFoundTemplate' => 'error/404',
                 ),
             ),