X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/398d5fa3298b7aacea4a9cbddd0c4e5f8a9e6638..9b72debd9af91a5d312bdf41168c1e37bcbaa696:/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 %>