From: Tom Hughes Date: Thu, 13 Mar 2014 13:37:39 +0000 (+0000) Subject: Fix link X-Git-Tag: live~4983 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/07082c35e6e2b72e774b938f557a44ec0d11a076 Fix link --- diff --git a/app/views/browse/_common_details.html.erb b/app/views/browse/_common_details.html.erb index 9ef16ecb2..17a5f1f40 100644 --- a/app/views/browse/_common_details.html.erb +++ b/app/views/browse/_common_details.html.erb @@ -26,7 +26,7 @@ <% if @type == "node" and common_details.visible? %>
<%= t 'browse.location' %> - <%= link_to(content_tag(:span, number_with_delimiter(common_details.lat), :class => "latitude") + ", " + content_tag(:span, number_with_delimiter(common_details.lon), :class => "longitude"), {:controller => 'site', :action => 'index', :anchor => "18/#{common_details.lat}/#{common_details.lon}"}) %> + <%= link_to(content_tag(:span, number_with_delimiter(common_details.lat), :class => "latitude") + ", " + content_tag(:span, number_with_delimiter(common_details.lon), :class => "longitude"), {:controller => 'site', :action => 'index', :anchor => "map=18/#{common_details.lat}/#{common_details.lon}"}) %>
<% end %>