forked from GNUsocial/gnu-social
Add missing rule for /api/users/show.:format
This commit is contained in:
parent
4a4d8bd271
commit
220510f372
@ -358,6 +358,10 @@ class Router
|
|||||||
|
|
||||||
// users
|
// users
|
||||||
|
|
||||||
|
$m->connect('api/users/show.:format',
|
||||||
|
array('action' => 'ApiUserShow',
|
||||||
|
'format' => '(xml|json)'));
|
||||||
|
|
||||||
$m->connect('api/users/show/:id.:format',
|
$m->connect('api/users/show/:id.:format',
|
||||||
array('action' => 'ApiUserShow',
|
array('action' => 'ApiUserShow',
|
||||||
'id' => '[a-zA-Z0-9]+',
|
'id' => '[a-zA-Z0-9]+',
|
||||||
|
Loading…
Reference in New Issue
Block a user