]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/_way.html.erb
Merge remote-tracking branch 'origin/master' into routing
[rails.git] / app / views / browse / _way.html.erb
index fd419586fb1749c8ba4aae9ac0e0fd963ddf1858..aff405dde2b780f5ae8cac5fcfdb9dcc4f0f3162 100644 (file)
@@ -28,7 +28,7 @@
     <% unless way.containing_relation_members.empty? %>
       <h4><%= t'browse.part_of' %></h4>
       <ul>
     <% unless way.containing_relation_members.empty? %>
       <h4><%= t'browse.part_of' %></h4>
       <ul>
-        <%= render :partial => "containing_relation", :collection => way.containing_relation_members %>
+        <%= render :partial => "containing_relation", :collection => way.containing_relation_members.uniq %>
       </ul>
     <% end %>
   </div>
       </ul>
     <% end %>
   </div>