diff options
Diffstat (limited to 'modules/rss/controllers')
-rw-r--r-- | modules/rss/controllers/rss.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/rss/controllers/rss.php b/modules/rss/controllers/rss.php index 164803cb..8cf083db 100644 --- a/modules/rss/controllers/rss.php +++ b/modules/rss/controllers/rss.php @@ -20,10 +20,9 @@ class Rss_Controller extends Controller { public static $page_size = 30; - public function __call($method, $arguments) { - $id = empty($arguments) ? null : $arguments[0]; + public function feed($method, $id=null) { $page = $this->input->get("page", 1); - $feed_uri = "rss/$method" . (empty($id) ? "" : "/$id"); + $feed_uri = "rss/feed/$method" . (empty($id) ? "" : "/$id"); if ($page < 1) { url::redirect($feed_uri); } |