From 63eddf216fac848aa2b7afbbafb0fcc4bf8b7d79 Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Sun, 10 Jan 2010 14:03:10 -0800 Subject: Fix routes for social graph API methods -- this takes care of Ticket #2151 --- lib/router.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/router.php') 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 -- cgit v1.2.3