From ec804c1f4c70605c27042e984947e5882ee52a49 Mon Sep 17 00:00:00 2001 From: rMalie Date: Mon, 9 Jan 2012 10:28:26 +0000 Subject: [PATCH] // {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 --- classes/Dispatcher.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/Dispatcher.php b/classes/Dispatcher.php index 98f8c8d96..5de62675f 100644 --- a/classes/Dispatcher.php +++ b/classes/Dispatcher.php @@ -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'), ), ), );