From: Ryan Mauger Date: Wed, 18 Jan 2012 08:45:41 +0000 (-0800) Subject: Merge pull request #20 from akrabat/hotfix/di-for-controller-plugin X-Git-Url: http://git.inspyration.org/?a=commitdiff_plain;h=e5ab1d13aa67aa35a8eb45a0b4a5e4532974af47;hp=3c043eb2ee8298e2bdb455591a8d17c410947b7c;p=zf2.biz%2Fapplication_blanche.git Merge pull request #20 from akrabat/hotfix/di-for-controller-plugin Inject the PluginBroker into the ActionController for controller plugins --- diff --git a/module/Application/config/module.config.php b/module/Application/config/module.config.php index 4d5eef9..a8e8365 100644 --- a/module/Application/config/module.config.php +++ b/module/Application/config/module.config.php @@ -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',