diff options
author | Zach Copley <zach@status.net> | 2009-12-01 10:02:22 -0800 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2009-12-01 12:42:51 -0800 |
commit | 220510f3726610040fecd68ddf44f638ba1a02dc (patch) | |
tree | 057db056d70990ecfcaf428333f87a2ac2ec3656 /lib | |
parent | 4a4d8bd2710fca1ffa4fdbfd7f45fb28be42313d (diff) |
Add missing rule for /api/users/show.:format
Diffstat (limited to 'lib')
-rw-r--r-- | lib/router.php | 4 |
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]+', |