Update zf2 submoudle and Di configuration
[zf2.biz/galerie.git] / modules / Application / configs / module.config.php
index 3b5caf2..1d13323 100644 (file)
@@ -25,17 +25,13 @@ return array(
             ),
 
             'Zend\View\PhpRenderer' => array(
-                'methods' => array(
-                    'setResolver' => array(
-                        'resolver' => 'Zend\View\TemplatePathStack',
-                        'options'  => array(
-                            'script_paths' => array(
-                                'application' => __DIR__ . '/../views',
-                            ),
+                'parameters' => array(
+                    'resolver' => 'Zend\View\TemplatePathStack',
+                    'options'  => array(
+                        'script_paths' => array(
+                            'application' => __DIR__ . '/../views',
                         ),
                     ),
-                ),
-                'parameters' => array(
                     'broker' => 'Zend\View\HelperBroker',
                 ),
             ),