summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-12-11 12:40:05 -0500
committerEvan Prodromou <evan@status.net>2009-12-11 12:40:05 -0500
commit683edfd199ae150afa74993521c4c65d76b1e19d (patch)
tree5fdc2a95ee38aa274bd8850254903a69cec37548 /lib
parent1c370bb277d9b707a5f1956dd5e6856a9b278f5e (diff)
show repeated notices correctly in API output
Diffstat (limited to 'lib')
-rw-r--r--lib/router.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/router.php b/lib/router.php
index 142206c16..835339720 100644
--- a/lib/router.php
+++ b/lib/router.php
@@ -359,6 +359,11 @@ class Router
'id' => '[0-9]+',
'format' => '(xml|json)'));
+ $m->connect('api/statuses/retweet/:id.:format',
+ array('action' => 'ApiStatusesRetweet',
+ 'id' => '[0-9]+',
+ 'format' => '(xml|json)'));
+
// users
$m->connect('api/users/show.:format',