From e5076f332a500ec4a685c2e6ce37021e8478ec7b Mon Sep 17 00:00:00 2001 From: Thomas Wood Date: Mon, 20 Apr 2009 19:13:52 +0000 Subject: [PATCH] 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. --- app/views/browse/_relation_member.rhtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/browse/_relation_member.rhtml b/app/views/browse/_relation_member.rhtml index 8be58d16f..fe484c3cd 100644 --- a/app/views/browse/_relation_member.rhtml +++ b/app/views/browse/_relation_member.rhtml @@ -1,7 +1,7 @@ - <%= 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) %> -- 2.39.5