Simplified TemplatePathStack config
authorMatthew Weier O'Phinney <matthew@zend.com>
Tue, 14 Feb 2012 03:56:59 +0000 (21:56 -0600)
committerMatthew Weier O'Phinney <matthew@zend.com>
Tue, 14 Feb 2012 03:56:59 +0000 (21:56 -0600)
- Since bootstrap now contains configuration for template path stack,
  can simply path "paths" parameter

module/Application/config/module.config.php

index 6b06ceb..e6f4afa 100644 (file)
@@ -37,10 +37,8 @@ return array(
             // Setup the View layer
             'Zend\View\Resolver\TemplatePathStack' => array(
                 'parameters' => array(
-                    'options'  => array(
-                        'script_paths' => array(
-                            'application' => __DIR__ . '/../view',
-                        ),
+                    'paths'  => array(
+                        'application' => __DIR__ . '/../view',
                     ),
                 ),
             ),