From: Zach Copley Date: Tue, 1 Dec 2009 18:02:22 +0000 (-0800) Subject: Add missing rule for /api/users/show.:format X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=75914394512c8752017b8516c0d445a8ec33d1f3;p=quix0rs-gnu-social.git Add missing rule for /api/users/show.:format --- diff --git a/lib/router.php b/lib/router.php index beb98eb04d..1a090861e4 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]+',