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