diff --git a/app/views/people/show.html.haml b/app/views/people/show.html.haml index 1c7dd2368..b0e568799 100644 --- a/app/views/people/show.html.haml +++ b/app/views/people/show.html.haml @@ -5,7 +5,7 @@ %h1 = @person.real_name - - unless @person.id == current_user.person.id + - if @person != current_user.person && current_user.friends.include?(@person) .right = link_to 'remove friend', @person, :confirm => 'Are you sure?', :method => :delete, :class => "button"