modules: Tell the dispatcher that the static controller is to be found in the default module

refs #5786
This commit is contained in:
Eric Lippmann 2015-08-28 13:13:07 +02:00
parent bcc02f50ec
commit c0eb0cbe6a
1 changed files with 4 additions and 2 deletions

View File

@ -1055,8 +1055,9 @@ class Module
new Zend_Controller_Router_Route(
'js/' . $this->name . '/:file',
array(
'action' => 'javascript',
'controller' => 'static',
'action' =>'javascript',
'module' => 'default',
'module_name' => $this->name
)
)
@ -1066,8 +1067,9 @@ class Module
new Zend_Controller_Router_Route_Regex(
'img/' . $this->name . '/(.+)',
array(
'controller' => 'static',
'action' => 'img',
'controller' => 'static',
'module' => 'default',
'module_name' => $this->name
),
array(