summaryrefslogtreecommitdiff
path: root/lib/router.php
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2009-09-20 12:55:34 +0200
committerSarven Capadisli <csarven@status.net>2009-09-20 12:55:34 +0200
commit0fa2bbe581060b133fbfc48958121533aa199193 (patch)
tree8cb994bd4917023aa63ec13c62f7cd1491251e32 /lib/router.php
parent4b7881c64e741d7b82f1d65bd9651148692cf1d4 (diff)
parentcf8944526ec56dd1a3522d6eced65a4d1369c321 (diff)
Merge branch '0.8.x' of git@gitorious.org:statusnet/mainline into 0.8.x
Diffstat (limited to 'lib/router.php')
-rw-r--r--lib/router.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/router.php b/lib/router.php
index 0505c9942..5529e60ac 100644
--- a/lib/router.php
+++ b/lib/router.php
@@ -272,12 +272,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
@@ -436,7 +436,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',