]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix routes for social graph API methods -- this takes care of Ticket #2151
authorZach Copley <zach@status.net>
Sun, 10 Jan 2010 22:03:10 +0000 (14:03 -0800)
committerZach Copley <zach@status.net>
Sun, 10 Jan 2010 22:03:10 +0000 (14:03 -0800)
lib/router.php

index 287d3c79fd8c0d567c73dd91dc9415d51a6f58d8..785e78fd0546b085f992daa534d827f32fc806ea 100644 (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