// Fix modules route for dispatcher
This commit is contained in:
1 parent
e44f8afcdf
commit
a819f7238d
1 file changed
+2
-2
@@ -108,9 +108,9 @@ class DispatcherCore
|
|||||||
),
|
),
|
||||||
'module' => array(
|
'module' => array(
|
||||||
'controller' => 'module',
|
'controller' => 'module',
|
||||||
'rule' => 'module/{name}/{action}',
|
'rule' => 'module/{module}/{action}',
|
||||||
'keywords' => array(
|
'keywords' => array(
|
||||||
'name' => array('regexp' => '[a-zA-Z0-9_-]+', 'param' => 'module'),
|
'module' => array('regexp' => '[a-zA-Z0-9_-]+', 'param' => 'module'),
|
||||||
'action' => array('regexp' => '[a-zA-Z0-9_-]+', 'param' => 'action'),
|
'action' => array('regexp' => '[a-zA-Z0-9_-]+', 'param' => 'action'),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in new issue
Block a user