Fix for ticket #1182. Remove the trailing slash and just let it be matched by the trailing (.*) group

This commit is contained in:
Tim Almdal
2010-07-06 14:59:27 -07:00
parent dbf3199e46
commit cb4e18f9dd
+2 -2
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";