]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/way.html.erb
Merge branch 'master' into notes
[rails.git] / app / views / browse / way.html.erb
index 41341fef8d4c30d32cb69478e9faaa35981ea45b..aa7b5d0b758ee2872b45d667a57e9a813e0a2cd4 100644 (file)
@@ -12,6 +12,4 @@
 <hr />
 <%= 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) %>