Revert "Make the trailing slash on the url optional. Sometimes it is not there, so the regex doesn't match"

This reverts commit e4d397d301.
This commit is contained in:
Tim Almdal
2010-07-05 08:59:08 -07:00
parent 226d1f7146
commit 67223fc43d

View File

@@ -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";