From a4df6a8a539673534f961612a7c56f05121561db Mon Sep 17 00:00:00 2001
From: danielvincent <danielgrippi@gmail.com>
Date: Sun, 7 Nov 2010 10:51:33 -0800
Subject: [PATCH] bugfix in peeople#_person partial displaying relationship
 status

---
 app/views/people/_person.html.haml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/views/people/_person.html.haml b/app/views/people/_person.html.haml
index ab45b50a3a..23ed76f826 100644
--- a/app/views/people/_person.html.haml
+++ b/app/views/people/_person.html.haml
@@ -13,7 +13,7 @@
       .right{:style=>"display:inline;"}
         - if person.id == current_user.person.id
           = t('.thats_you')
-        - elsif current_user.friends.include?(person)
+        - elsif current_user.person_objects.include?(person)
           = t('.already_friends')
         - elsif current_user.pending_requests.find_by_person_id(person.id)
           = link_to =t('.pending_request'), aspects_manage_path
-- 
GitLab