summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2009-12-01 10:02:22 -0800
committerZach Copley <zach@status.net>2009-12-01 10:02:22 -0800
commit75914394512c8752017b8516c0d445a8ec33d1f3 (patch)
tree6c3a028673c5b2d6c240cb84da5b202cdafc5cbe /lib
parent4003e51b9149f4b8538c5c107417eb9ca9e7f949 (diff)
Add missing rule for /api/users/show.:format
Diffstat (limited to 'lib')
-rw-r--r--lib/router.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/router.php b/lib/router.php
index beb98eb04..1a090861e 100644
--- a/lib/router.php
+++ b/lib/router.php
@@ -358,6 +358,10 @@ class Router
// users
+ $m->connect('api/users/show.:format',
+ array('action' => 'ApiUserShow',
+ 'format' => '(xml|json)'));
+
$m->connect('api/users/show/:id.:format',
array('action' => 'ApiUserShow',
'id' => '[a-zA-Z0-9]+',