summaryrefslogtreecommitdiff
path: root/modules/gallery
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2010-07-05 08:59:08 -0700
committerTim Almdal <tnalmdal@shaw.ca>2010-07-05 08:59:08 -0700
commit67223fc43d1cfd5f33d4fc007935eaadb79a112e (patch)
treefe9761baeaece43df7dc956f24ba9b8af0b32c32 /modules/gallery
parent226d1f714635995722fe7927f8ec049fe3890011 (diff)
Revert "Make the trailing slash on the url optional. Sometimes it is not there, so the regex doesn't match"
This reverts commit e4d397d30118a3d673b146c44ed329efa08bbefe.
Diffstat (limited to 'modules/gallery')
-rw-r--r--modules/gallery/config/routes.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/config/routes.php b/modules/gallery/config/routes.php
index e1ea9612..55d3cf6c 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";