]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/relation_history.rhtml
fixing the data browser to be able to cope with the changeset change. changeset brows...
[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>