diff options
author | Zach Copley <zach@status.net> | 2009-09-19 18:34:07 -0700 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2009-09-19 18:41:28 -0700 |
commit | 8aad3154a7673091291af4b95da2736e98aa75e7 (patch) | |
tree | 9f085dcd4f22cb26b07fd854dd8cf1b2dbcd6c59 /lib/router.php | |
parent | e0ff80f1c7c0d7daa9b81652e2d545b17b47fe05 (diff) |
Make statuses/home_timeline return the same thing as statuses/friends_timeline to support apps trying to use the new retweet API method.
Diffstat (limited to 'lib/router.php')
-rw-r--r-- | lib/router.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/router.php b/lib/router.php index 8f13b8852..2c4d63b0d 100644 --- a/lib/router.php +++ b/lib/router.php @@ -265,12 +265,12 @@ class Router $m->connect('api/statuses/:method', array('action' => 'api', 'apiaction' => 'statuses'), - array('method' => '(public_timeline|friends_timeline|user_timeline|update|replies|mentions|show|friends|followers|featured)(\.(atom|rss|xml|json))?')); + array('method' => '(public_timeline|home_timeline|friends_timeline|user_timeline|update|replies|mentions|show|friends|followers|featured)(\.(atom|rss|xml|json))?')); $m->connect('api/statuses/:method/:argument', array('action' => 'api', 'apiaction' => 'statuses'), - array('method' => '(|user_timeline|friends_timeline|replies|mentions|show|destroy|friends|followers)')); + array('method' => '(user_timeline|home_timeline|friends_timeline|replies|mentions|show|destroy|friends|followers)')); // users @@ -429,7 +429,7 @@ class Router $m->connect('api/statuses/:method/:argument', array('action' => 'api', 'apiaction' => 'statuses'), - array('method' => '(|user_timeline|friends_timeline|replies|mentions|show|destroy|friends|followers)')); + array('method' => '(user_timeline|home_timeline|friends_timeline|replies|mentions|show|destroy|friends|followers)')); $m->connect('api/statusnet/groups/:method/:argument', array('action' => 'api', |