Fix bug introduced in r14610 (.downcase in wrong place)
No need to sanitise type of relation member, since will only be a Node, Way, or Relation and not user-provided.
This commit is contained in:
parent
0c44c8dc35
commit
e5076f332a
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
<tr>
|
||||
<td>
|
||||
<%= h(relation_member.member_type.capitalize) %>
|
||||
<%= link_to relation_member.member_id.to_s, :action => relation_member.downcase.member_type, :id => relation_member.member_id %>
|
||||
<%= relation_member.member_type.capitalize %>
|
||||
<%= link_to relation_member.member_id.to_s, :action => relation_member.member_type.downcase, :id => relation_member.member_id %>
|
||||
<% unless relation_member.member_role.blank? %>
|
||||
as
|
||||
<%= h(relation_member.member_role) %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue