X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3b56c005ebac1e5aaef8890057767e1955bb4948..90fd22e2a35cea1e4bc55185f93267c49fb37b6e:/app/views/browse/_relation.html.erb?ds=sidebyside
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 %>