diff options
author | Zach Copley <zach@status.net> | 2009-10-01 16:15:52 -0700 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2009-10-01 16:15:52 -0700 |
commit | b0ddb971e61bd98250c41e653ab2e649a9b08926 (patch) | |
tree | 2dc86a8e788a16adbf8e62bc577a746b7ede3627 /lib/router.php | |
parent | c5f33cc6c26cc10dbcf2f1d3104875ad694f2256 (diff) |
New action for /statuses/update
Diffstat (limited to 'lib/router.php')
-rw-r--r-- | lib/router.php | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/router.php b/lib/router.php index 972db4c9d..1ea06afe0 100644 --- a/lib/router.php +++ b/lib/router.php @@ -341,15 +341,14 @@ class Router 'id' => '[a-zA-Z0-9]+', 'format' => '(xml|json)')); - $m->connect('api/statuses/:method', - array('action' => 'api', - 'apiaction' => 'statuses'), - array('method' => '(update|featured)(\.(atom|rss|xml|json))?')); + $m->connect('api/statuses/update.:format', + array('action' => 'ApiUpdate', + 'format' => '(xml|json)')); $m->connect('api/statuses/:method/:argument', array('action' => 'api', 'apiaction' => 'statuses'), - array('method' => '(show|destroy)')); + array('method' => 'destroy')); // users |