Commit d7d8edf3 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix duplicating participants in milestone

parent 68a31780
...@@ -32,7 +32,7 @@ class MilestonesController < ProjectResourceController ...@@ -32,7 +32,7 @@ class MilestonesController < ProjectResourceController
def show def show
@issues = @milestone.issues @issues = @milestone.issues
@users = @milestone.participants @users = @milestone.participants.uniq
@merge_requests = @milestone.merge_requests @merge_requests = @milestone.merge_requests
respond_to do |format| respond_to do |format|
......
...@@ -87,7 +87,6 @@ ...@@ -87,7 +87,6 @@
%h6 Participants: %h6 Participants:
%div %div
- @users.each do |user| - @users.each do |user|
= link_to user do
= link_to_member(@project, user) = link_to_member(@project, user)
.clearfix .clearfix
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment