]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/relation_history.rhtml
Merge 12304:14009 from trunk.
[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>