diff options
Diffstat (limited to 'modules/gallery')
-rw-r--r-- | modules/gallery/config/routes.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/gallery/config/routes.php b/modules/gallery/config/routes.php index 0272ca15..503d6f5b 100644 --- a/modules/gallery/config/routes.php +++ b/modules/gallery/config/routes.php @@ -18,13 +18,10 @@ * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ -// The abstract REST_Controller is not directly routable. -$config["^rest\b.*"] = null; - // Admin controllers are not available, except via /admin $config["^admin_.*"] = null; -// Redirect /form/add and /form/edit to REST_Controller. +// Redirect /form/add and /form/edit to the module/form_(add|edit)/parms. $config["^form/(edit|add)/(\w+)/(.*)$"] = "$2/form_$1/$3"; // Default page is the root album |