new support for box=yes param on the homepage, and then link to this from various...
[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>