From e1d6c9ce03f4757b314d00e2419049a4296e984a Mon Sep 17 00:00:00 2001 From: Raphael Date: Fri, 27 Aug 2010 10:24:42 -0700 Subject: [PATCH] fixing person show on stranger --- app/views/people/show.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/people/show.html.haml b/app/views/people/show.html.haml index 472d6a9dd..1c7dd2368 100644 --- a/app/views/people/show.html.haml +++ b/app/views/people/show.html.haml @@ -13,7 +13,7 @@ -unless @posts.first.nil? %li %i= "last seen: #{how_long_ago(@posts.first)}" - - unless @person == current_user.person || not current_user.friends.include?(@person) + - if @person != current_user.person && current_user.friends.include?(@person) %li %i= "friends since: #{how_long_ago(@person)}" %li