diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2010-07-06 14:59:27 -0700 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2010-07-06 14:59:27 -0700 |
commit | cb4e18f9dddd82a283f0208c694a9b4eb1a2eaca (patch) | |
tree | 38a9b93f85e553ddac5f479be3f1e65079bd1755 | |
parent | dbf3199e46d8a9c0ae37108f6afda35232ef4cdd (diff) |
Fix for ticket #1182. Remove the trailing slash and just let it be matched by the trailing (.*) group
-rw-r--r-- | modules/gallery/config/routes.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/config/routes.php b/modules/gallery/config/routes.php index 55d3cf6c..aa5d152b 100644 --- a/modules/gallery/config/routes.php +++ b/modules/gallery/config/routes.php @@ -23,10 +23,10 @@ $config["^admin_.*"] = null; // Redirect /form/add/admin/controller and /form/edit/admin/controller to // admin/controller/form_(add|edit)/parms. provides the same as below for admin pages -$config["^form/(edit|add)/admin/(\w+)/(.*)$"] = "admin/$2/form_$1/$3"; +$config["^form/(edit|add)/admin/(\w+)(.*)$"] = "admin/$2/form_$1/$3"; // Redirect /form/add and /form/edit to the module/form_(add|edit)/parms. -$config["^form/(edit|add)/(\w+)/(.*)$"] = "$2/form_$1/$3"; +$config["^form/(edit|add)/(\w+)(.*)$"] = "$2/form_$1/$3"; // Default page is the root album $config["_default"] = "albums"; |