X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6078e642bac0729585f11db6d42d7333d8c2114b..f0764d3:/app/views/browse/_relation.html.erb
diff --git a/app/views/browse/_relation.html.erb b/app/views/browse/_relation.html.erb
index cf9c62b13..c513ea6d1 100644
--- a/app/views/browse/_relation.html.erb
+++ b/app/views/browse/_relation.html.erb
@@ -8,12 +8,12 @@
<% else %>
- <%= render :partial => "common_details", :object => relation %>
+ <%= render :partial => "browse/common_details", :object => relation %>
<% unless relation.containing_relation_members.empty? %>
<%= t "browse.part_of" %>
>
- <%= t "browse.part_of_relations", :count => relation.containing_relation_members.count %>
+ <%= t "browse.part_of_relations", :count => relation.containing_relation_members.uniq.count %>
<%= render :partial => "containing_relation", :collection => relation.containing_relation_members.uniq %>
@@ -25,7 +25,7 @@
>
<%= t ".members_count", :count => relation.relation_members.count %>
- <%= render :partial => "relation_member", :collection => relation.relation_members %>
+ <%= render :partial => "browse/relation_member", :collection => relation.relation_members %>
<% end %>