From: Zach Copley Date: Sun, 10 Jan 2010 22:03:10 +0000 (-0800) Subject: Fix routes for social graph API methods -- this takes care of Ticket #2151 X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=63eddf216fac848aa2b7afbbafb0fcc4bf8b7d79;p=quix0rs-gnu-social.git Fix routes for social graph API methods -- this takes care of Ticket #2151 --- diff --git a/lib/router.php b/lib/router.php index 287d3c79fd..785e78fd05 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