From 92d6b618aaf5d815b1992cc1e99242c9545aff92 Mon Sep 17 00:00:00 2001 From: MrZYX Date: Sat, 26 Mar 2011 17:41:58 +0100 Subject: [PATCH] ups that shouldn't be in the previous commit --- app/views/photos/show.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/photos/show.html.haml b/app/views/photos/show.html.haml index 274fbcfb8..559fc0d3f 100644 --- a/app/views/photos/show.html.haml +++ b/app/views/photos/show.html.haml @@ -29,7 +29,7 @@ - if @ownership .photo_options{:data=>{:actor=>"#{@photo.author.owner.id}", :actor_person => "#{@photo.author.id}", :image_url => "#{@photo.url(:thumb_large)}"}} - = link_to t('.make_profile_photo'), {:controller => "photos", :action => "make_profile_photo", :photo_id => @photo.id}, :class => 'make_profile_photo' + = link_to t('.make_profile_photo'), {:controller => "photos", :action => "make_profile_photo", :photo_id => @photo.id}, :remote => true, :class => 'make_profile_photo' | = link_to t('.edit'), '#', :id => "edit_photo_toggle" %br