Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
d7d8edf3
Commit
d7d8edf3
authored
Apr 16, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix duplicating participants in milestone
parent
68a31780
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
app/controllers/milestones_controller.rb
app/controllers/milestones_controller.rb
+1
-1
app/views/milestones/show.html.haml
app/views/milestones/show.html.haml
+1
-2
No files found.
app/controllers/milestones_controller.rb
View file @
d7d8edf3
...
@@ -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
|
...
...
app/views/milestones/show.html.haml
View file @
d7d8edf3
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment