]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/way_history.rhtml
Make browse controller index show recently closed changesets, rather than recently...
[rails.git] / app / views / browse / way_history.rhtml
index 1eaf52ed532a50cc9fbe35239effd1029ce46a12..f44405ffaac8c6e80adfc7961494212aa6493941 100644 (file)
       or
       <%= link_to "view details", :action => "way" %>
     </td>
-    <td align="right">
-      <% if @way.visible %>
-        <%= render :partial => "map", :locals => { :type => "way", :id => @way.id } %>
-      <% else %>
-        Deleted
-      <% end %>
-    </td>
+    <%= render :partial => "map", :object => @way %>
   </tr>
 </table>