summaryrefslogtreecommitdiff
path: root/lib/router.php
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-07-06 11:57:21 -0700
committerZach Copley <zach@controlyourself.ca>2009-07-06 11:57:21 -0700
commitd40075ae9c7c2b920a5e9a7cd436aff96f94d8f8 (patch)
treed80c4395ad2d65160cd4387101a2b941d003a195 /lib/router.php
parentd48d27d79f9c51aa3bde345c1c69ade1d93e8b2e (diff)
Support undocumented 'id' parameter in /statuses/show API method
Diffstat (limited to 'lib/router.php')
-rw-r--r--lib/router.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/router.php b/lib/router.php
index 50b733453..75e72f932 100644
--- a/lib/router.php
+++ b/lib/router.php
@@ -261,7 +261,7 @@ class Router
$m->connect('api/statuses/:method',
array('action' => 'api',
'apiaction' => 'statuses'),
- array('method' => '(public_timeline|friends_timeline|user_timeline|update|replies|mentions|friends|followers|featured)(\.(atom|rss|xml|json))?'));
+ array('method' => '(public_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',