Inject the PluginBroker into the ActionController so that we pick up any module's...
[zf2.biz/galerie.git] / module / Application / config / module.config.php
index 4d5eef9..a8e8365 100644 (file)
@@ -9,6 +9,11 @@ return array(
                 'error' => 'Application\Controller\ErrorController',
                 'view'  => 'Zend\View\PhpRenderer',
             ),
+            'Zend\Mvc\Controller\ActionController' => array(
+                'parameters' => array(
+                    'broker'       => 'Zend\Mvc\Controller\PluginBroker',
+                ),
+            ),
             'Zend\View\PhpRenderer' => array(
                 'parameters' => array(
                     'resolver' => 'Zend\View\TemplatePathStack',