// {process} argument is no more required in module routes

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12261 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2012-01-09 10:28:26 +00:00
parent 71e2fbff16
commit ec804c1f4c
+2 -2
View File
@@ -109,10 +109,10 @@ class DispatcherCore
),
'module' => array(
'controller' => 'module',
'rule' => 'module/{module}/{process}',
'rule' => 'module/{module}{/:process}',
'keywords' => array(
'module' => array('regexp' => '[a-zA-Z0-9_-]+', 'param' => 'module'),
'process' => array('regexp' => '[a-zA-Z0-9_-]+', 'param' => 'process'),
'process' => array('regexp' => '[a-zA-Z0-9_-]*', 'param' => 'process'),
),
),
);