diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2008-11-19 03:17:56 +0000 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2008-11-19 03:17:56 +0000 |
| commit | df4832bf6f73d9587de603ad8a151853a962ba84 (patch) | |
| tree | 64defee95153607ee3945b5ec7e405878969b68c /core/config | |
| parent | 693080669a95d9b875252f5bf9f2719c594df2f5 (diff) | |
Change Media_RSS_Controller so that it does not extend REST_Controller, since it
doesn't refer to a fixed resource or collection of resources.
Fix some minor bugs in the code so that we can actually generate a
feed. It looks pretty cool! Improved pagination links, but didn't actually test them.
Diffstat (limited to 'core/config')
| -rw-r--r-- | core/config/routes.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/config/routes.php b/core/config/routes.php index 4da97654..0e2aa887 100644 --- a/core/config/routes.php +++ b/core/config/routes.php @@ -22,6 +22,7 @@ // The problem is that we're routing all requests to /{controllername} to Rest_Controller, // even requests to controllers that do not implement Rest_Controller. $config['^welcome$'] = 'welcome'; +$config['^media_rss/feed/(\d+)'] = 'media_rss/feed/$1'; // REST configuration // Any resource requests (eg: album/1 or comment/3) get dispatched to the REST |
