summaryrefslogtreecommitdiff
path: root/core/config
diff options
context:
space:
mode:
Diffstat (limited to 'core/config')
-rw-r--r--core/config/routes.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/config/routes.php b/core/config/routes.php
index 9b958df1..24e2d73c 100644
--- a/core/config/routes.php
+++ b/core/config/routes.php
@@ -20,12 +20,10 @@
// REST configuration
// Any resource requests (eg: album/1 or comment/3) get dispatched to the REST
-// dispatcher. Any direct calls to REST methods are also forced into the dispatcher
-// since the REST methods are internally expecting an ORM, not an id.
+// dispatcher, and the abstract REST_Controller is not directly routable.
$config['^rest'] = null;
$config['^rest/.*'] = null;
$config['^(\w+)/(\d+)$'] = '$1/dispatch/$2';
-$config['^(\w+)/(?:get|post|put|delete)/(\d+)$'] = '$1/dispatch/$2';
// For now our default page is the scaffolding.
$config['_default'] = 'welcome';