X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/bd12ec7a8bfdc244756272a2f4fec1f645a6d852..104727f889aaf31f917c8243014b161732b6e351:/app/views/browse/way.html.erb diff --git a/app/views/browse/way.html.erb b/app/views/browse/way.html.erb index 167ac6959..aa7b5d0b7 100644 --- a/app/views/browse/way.html.erb +++ b/app/views/browse/way.html.erb @@ -12,6 +12,4 @@
<%= link_to(t('browse.way.download_xml'), :controller => "way", :action => "read") %> | <%= link_to(t('browse.way.view_history'), :action => "way_history") %> -<% unless @midnode.nil? -%> -| <%= link_to(t('browse.way.edit'), :controller => "site", :action => "edit", :way => @way.id, :lat => @midnode.lat, :lon => @midnode.lon, :zoom => 16) %> -<% end -%> +| <%= link_to(t('browse.way.edit'), :controller => "site", :action => "edit", :way => @way.id) %>