// Fix modules route for dispatcher

This commit is contained in:
rMalie committed 2011-10-24 08:38:45 +00:00
1 parent e44f8afcdf
commit a819f7238d
1 file changed
+2 -2
+2 -2
View File
@@ -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'),
), ),
), ),