From: Harry Wood Date: Sat, 2 Apr 2011 14:26:37 +0000 (+0100) Subject: Remove edit links from geo-located diary entries X-Git-Tag: live~6286^2~102 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/53fc3e8919baa4493880484984446f3b9c607196 Remove edit links from geo-located diary entries Jumping straight into the editor from a diary entry is not a particularly useful thing to do. Fixes trac ticket #3626. --- diff --git a/app/views/diary_entry/_location.html.erb b/app/views/diary_entry/_location.html.erb index dfac3a198..59ab013f7 100644 --- a/app/views/diary_entry/_location.html.erb +++ b/app/views/diary_entry/_location.html.erb @@ -6,6 +6,4 @@ <% end %> -(<%=link_to t('diary_entry.location.view'), :controller => 'site', :action => 'index', :lat => location.latitude, :lon => location.longitude, :zoom => 14 %> -/ -<%=link_to t('diary_entry.location.edit'), :controller => 'site', :action => 'edit', :lat => location.latitude, :lon => location.longitude, :zoom => 14 %>) +(<%=link_to t('diary_entry.location.view'), :controller => 'site', :action => 'index', :lat => location.latitude, :lon => location.longitude, :zoom => 14 %>)