Skip to content

Commit

Permalink
Fix for ticket #1182. Remove the trailing slash and just let it be ma…
Browse files Browse the repository at this point in the history
…tched by the trailing (.*) group
  • Loading branch information
Tim Almdal committed Jul 6, 2010
1 parent dbf3199 commit cb4e18f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/gallery/config/routes.php
Expand Up @@ -23,10 +23,10 @@

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

0 comments on commit cb4e18f

Please sign in to comment.