]> git.openstreetmap.org Git - rails.git/commitdiff
Quick fix to reference relation rather than relation_member when linking to the relat...
authorThomas Wood <grand.edgemaster@gmail.com>
Mon, 27 Apr 2009 21:26:23 +0000 (21:26 +0000)
committerThomas Wood <grand.edgemaster@gmail.com>
Mon, 27 Apr 2009 21:26:23 +0000 (21:26 +0000)
Closes #1764

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 %>