Commit d7d8edf3 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix duplicating participants in milestone

parent 68a31780
......@@ -32,7 +32,7 @@ class MilestonesController < ProjectResourceController
def show
@issues = @milestone.issues
@users = @milestone.participants
@users = @milestone.participants.uniq
@merge_requests = @milestone.merge_requests
respond_to do |format|
......
......@@ -87,7 +87,6 @@
%h6 Participants:
%div
- @users.each do |user|
= link_to user do
= link_to_member(@project, user)
= link_to_member(@project, user)
.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