Fix routes for social graph API methods -- this takes care of Ticket #2151

This commit is contained in:
Zach Copley 2010-01-10 14:03:10 -08:00
parent 5ad01a7bea
commit 63eddf216f

View File

@ -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