Quick fix to reference relation rather than relation_member when linking to the relation, not sure when the bug was introduced. Tests still need to be written for the browse controller.

Closes #1764
This commit is contained in:
Thomas Wood 2009-04-27 21:26:23 +00:00
parent 600d5b3a46
commit 38c8e3e37e

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