From 7bfdaac6917e095eb38d5bb64aa6e91c8f98beda Mon Sep 17 00:00:00 2001 From: danielvincent Date: Fri, 9 Jul 2010 18:54:48 -0700 Subject: [PATCH] added unfriend button to person show page --- app/views/people/show.html.haml | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/people/show.html.haml b/app/views/people/show.html.haml index ccdabacd3..50050d2eb 100644 --- a/app/views/people/show.html.haml +++ b/app/views/people/show.html.haml @@ -1,5 +1,6 @@ .span-20.last %h1= "#{@person.real_name}" + = link_to 'remove friend', @person, :confirm => 'Are you sure?', :method => :delete - if @person_profile %p %b First Name