diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2016-04-08 09:41:10 +0300 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2016-04-08 16:53:04 +0300 |
commit | fb2fde9d62a599f08c065c54de236eacb6558d60 (patch) | |
tree | 75d1496616e7258092ad7e00d437bec5f1f16741 /lib/api/milestones.rb | |
parent | b30ebdaa1a704f4e81e91153b1b33a4c1c1a5c12 (diff) |
API: Expose subscribed? on issues
Diffstat (limited to 'lib/api/milestones.rb')
-rw-r--r-- | lib/api/milestones.rb | 2 |
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 |