summaryrefslogtreecommitdiff
path: root/lib/api/milestones.rb
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2016-04-08 08:41:10 +0200
committerRobert Schilling <rschilling@student.tugraz.at>2016-04-08 15:53:04 +0200
commitfb2fde9d62a599f08c065c54de236eacb6558d60 (patch)
tree75d1496616e7258092ad7e00d437bec5f1f16741 /lib/api/milestones.rb
parentb30ebdaa1a704f4e81e91153b1b33a4c1c1a5c12 (diff)
downloadgitlab-ce-fb2fde9d62a599f08c065c54de236eacb6558d60.tar.gz
API: Expose subscribed? on issues
Diffstat (limited to 'lib/api/milestones.rb')
-rw-r--r--lib/api/milestones.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/milestones.rb b/lib/api/milestones.rb
index afb6ffa3609..0f3f505fa05 100644
--- a/lib/api/milestones.rb
+++ b/lib/api/milestones.rb
@@ -103,7 +103,7 @@ module API
authorize! :read_milestone, user_project
@milestone = user_project.milestones.find(params[:milestone_id])
- present paginate(@milestone.issues), with: Entities::Issue
+ present paginate(@milestone.issues), with: Entities::Issue, current_user: current_user
end
end