From 53fc3e8919baa4493880484984446f3b9c607196 Mon Sep 17 00:00:00 2001 From: Harry Wood Date: Sat, 2 Apr 2011 15:26:37 +0100 Subject: [PATCH] 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. --- app/views/diary_entry/_location.html.erb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 %>) -- 2.43.2