]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/_containing_relation.rhtml
Quick fix to reference relation rather than relation_member when linking to the relat...
[rails.git] / app / views / browse / _containing_relation.rhtml
index b33dea590e48d578cb2b5cc7eb601596ab9080c1..013a7b6d7bf411f27ba34e0ff143ca738f07bb6b 100644 (file)
@@ -1,6 +1,6 @@
 <tr>
   <td>
-    <%= link_to "Relation " + containing_relation.id.to_s, :action => "relation", :id => containing_relation.id.to_s %>
+    <%= link_to "Relation " + containing_relation.relation.id.to_s, :action => "relation", :id => containing_relation.relation.id.to_s %>
     <% unless containing_relation.member_role.blank? %>
       (as <%= h(containing_relation.member_role) %>)
     <% end %>