X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/398d5fa3298b7aacea4a9cbddd0c4e5f8a9e6638..a3a792e13772282c006556081c65e12e37ad273b:/app/views/browse/way.rhtml diff --git a/app/views/browse/way.rhtml b/app/views/browse/way.rhtml index 75b333443..9a733bf9d 100644 --- a/app/views/browse/way.rhtml +++ b/app/views/browse/way.rhtml @@ -1,3 +1,7 @@ +<% +@name = printable_name @way +@title = 'Way | ' + @name +%> - + <%= render :partial => "map", :object => @way %>
@@ -15,12 +19,6 @@ or <%= link_to "view history", :action => "way_history" %> - <% if @way.visible %> - <%= render :partial => "map", :locals => { :type => "way", :id => @way.id } %> - <% else %> - Deleted - <% end %> -