summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-12-14 16:10:16 -0500
committerEvan Prodromou <evan@status.net>2009-12-14 16:10:16 -0500
commit6ff13d6828d01a142b60b4254c07f6f9ad3f16ba (patch)
tree01a47ba2fde842ab207b0267092ecbf85b4aabbf /lib
parent1ace5c400ebc30d2815182690e5433b918aeaf59 (diff)
move full-featured timeline to apitimelinehome.php
Diffstat (limited to 'lib')
-rw-r--r--lib/router.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/router.php b/lib/router.php
index 8f68f86ac..474e05996 100644
--- a/lib/router.php
+++ b/lib/router.php
@@ -283,12 +283,13 @@ class Router
array('action' => 'ApiTimelineFriends',
'id' => '[a-zA-Z0-9]+',
'format' => '(xml|json|rss|atom)'));
+
$m->connect('api/statuses/home_timeline.:format',
- array('action' => 'ApiTimelineFriends',
+ array('action' => 'ApiTimelineHome',
'format' => '(xml|json|rss|atom)'));
$m->connect('api/statuses/home_timeline/:id.:format',
- array('action' => 'ApiTimelineFriends',
+ array('action' => 'ApiTimelineHome',
'id' => '[a-zA-Z0-9]+',
'format' => '(xml|json|rss|atom)'));