summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2016-09-29 16:55:55 +0200
committerRémy Coutable <remy@rymai.me>2016-09-30 12:02:54 +0200
commit56259155d5a0ecfbbafb7319651495582504cfb8 (patch)
tree311bc67de01c68e896d0a608c3c9fdbc85d77b9d /lib
parent383dafdf31adaded392664cba9ba8b7262505dc6 (diff)
downloadgitlab-ce-56259155d5a0ecfbbafb7319651495582504cfb8.tar.gz
Small improvements thanks to Robert's feedback
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'lib')
-rw-r--r--lib/api/milestones.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/api/milestones.rb b/lib/api/milestones.rb
index 7a0cb7c99f3..9b73f6826cf 100644
--- a/lib/api/milestones.rb
+++ b/lib/api/milestones.rb
@@ -108,8 +108,7 @@ module API
finder_params = {
project_id: user_project.id,
- milestone_title: @milestone.title,
- state: 'all'
+ milestone_title: @milestone.title
}
issues = IssuesFinder.new(current_user, finder_params).execute