projects
/
zf2.biz
/
galerie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
3c043eb
)
Merge pull request #20 from akrabat/hotfix/di-for-controller-plugin
author
Ryan Mauger
<ryan@rmauger.co.uk>
Wed, 18 Jan 2012 08:45:41 +0000
(
00:45
-0800)
committer
Ryan Mauger
<ryan@rmauger.co.uk>
Wed, 18 Jan 2012 08:45:41 +0000
(
00:45
-0800)
Inject the PluginBroker into the ActionController for controller plugins
module/Application/config/module.config.php
patch
|
blob
|
history
diff --git
a/module/Application/config/module.config.php
b/module/Application/config/module.config.php
index
4d5eef9
..
a8e8365
100644
(file)
--- 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',