X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/abb66fa808f09469306e6b03b21539eb57b74d38..9a7db5d63b12f90b944f4ad151e5299d1745ecfb:/app/views/browse/way.rhtml diff --git a/app/views/browse/way.rhtml b/app/views/browse/way.rhtml index 75b333443..2e86e65f2 100644 --- a/app/views/browse/way.rhtml +++ b/app/views/browse/way.rhtml @@ -15,12 +15,6 @@ or <%= link_to "view history", :action => "way_history" %> - - <% if @way.visible %> - <%= render :partial => "map", :locals => { :type => "way", :id => @way.id } %> - <% else %> - Deleted - <% end %> - + <%= render :partial => "map", :object => @way %>