summaryrefslogtreecommitdiff
path: root/modules/gallery/config
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-11-25 13:45:58 -0800
committerTim Almdal <tnalmdal@shaw.ca>2009-11-25 13:45:58 -0800
commitce183e5a698cf0611a68d11fad5a490a91aa9350 (patch)
tree3a7a82bf590eeed22385b7aae1c3f12782306e04 /modules/gallery/config
parentdc67cf64813361b34c366123f37d88ef6988fcc8 (diff)
Forgot to remove the rest references from config/route.php
Diffstat (limited to 'modules/gallery/config')
-rw-r--r--modules/gallery/config/routes.php5
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