forked from GNUsocial/gnu-social
Fix routes for social graph API methods -- this takes care of Ticket #2151
This commit is contained in:
parent
5ad01a7bea
commit
63eddf216f
@ -442,19 +442,19 @@ class Router
|
||||
// Social graph
|
||||
|
||||
$m->connect('api/friends/ids/:id.:format',
|
||||
array('action' => 'apiFriends',
|
||||
array('action' => 'apiuserfriends',
|
||||
'ids_only' => true));
|
||||
|
||||
$m->connect('api/followers/ids/:id.:format',
|
||||
array('action' => 'apiFollowers',
|
||||
array('action' => 'apiuserfollowers',
|
||||
'ids_only' => true));
|
||||
|
||||
$m->connect('api/friends/ids.:format',
|
||||
array('action' => 'apiFriends',
|
||||
array('action' => 'apiuserfriends',
|
||||
'ids_only' => true));
|
||||
|
||||
$m->connect('api/followers/ids.:format',
|
||||
array('action' => 'apiFollowers',
|
||||
array('action' => 'apiuserfollowers',
|
||||
'ids_only' => true));
|
||||
|
||||
// account
|
||||
|
Loading…
Reference in New Issue
Block a user