summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2010-01-10 14:03:10 -0800
committerZach Copley <zach@status.net>2010-01-10 14:03:10 -0800
commit63eddf216fac848aa2b7afbbafb0fcc4bf8b7d79 (patch)
tree3340d5f41c23c36cf62fe94700466e986690429d /lib
parent5ad01a7beaabb07ad90e9a9bb03b808b2a35ee32 (diff)
Fix routes for social graph API methods -- this takes care of Ticket #2151
Diffstat (limited to 'lib')
-rw-r--r--lib/router.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/router.php b/lib/router.php
index 287d3c79f..785e78fd0 100644
--- a/lib/router.php
+++ b/lib/router.php
@@ -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