From 63eddf216fac848aa2b7afbbafb0fcc4bf8b7d79 Mon Sep 17 00:00:00 2001
From: Zach Copley <zach@status.net>
Date: Sun, 10 Jan 2010 14:03:10 -0800
Subject: [PATCH] Fix routes for social graph API methods -- this takes care of
 Ticket #2151

---
 lib/router.php | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

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