]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/relation_history.rhtml
Closes #1350 through updating amf_controller to use the newer closed_at method of...
[rails.git] / app / views / browse / relation_history.rhtml
index f4b3e1faacf353acd019c97f1a6cfdfedbd70cec..60e0ffd17ad792e6c68970114e833702dce569ff 100644 (file)
       or
       <%= link_to "view details", :action => "relation" %>
     </td>
-    <td align="right">
-      <% if @relation.visible %>
-        <%= render :partial => "map", :locals => { :type => "relation", :id => @relation.id } %>
-      <% else %>
-        Deleted
-      <% end %>
-    </td>
+    <%= render :partial => "map", :object => @relation %>
   </tr>
 </table>