]> 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 167ac6959f02fb14aec6a301e3e40a8c2d62ba5a..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) %>