// Fix modules route for dispatcher

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9574 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2011-10-24 08:38:45 +00:00
parent fa27a22612
commit feee8cb438
+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'),
), ),
), ),