diff options
author | Bharat Mediratta <bharat@menalto.com> | 2008-11-19 04:22:17 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2008-11-19 04:22:17 +0000 |
commit | 4ff0997c7579539a5da7b8dba6bf6613264bf8a9 (patch) | |
tree | 9eaf4c856c04c10ae6ddf475c03c6fb3388fbf6b | |
parent | 5638fc5fb60823544f1944bdf40705a19b7365f1 (diff) |
Fix a mistake in the route that let people try to get to the rest controller (it would fail, but this way they get a 404 instead of another error).
-rw-r--r-- | core/config/routes.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/config/routes.php b/core/config/routes.php index ac4a8cb0..9e86def6 100644 --- a/core/config/routes.php +++ b/core/config/routes.php @@ -19,7 +19,7 @@ */ // The abstract REST_Controller is not directly routable. -$config['^rest\b'] = null; +$config['^rest\b.*'] = null; // For now our default page is the scaffolding. $config['_default'] = 'welcome'; |