summaryrefslogtreecommitdiff
path: root/lib/api/entities.rb
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2016-07-15 16:21:53 +0200
committerRobert Schilling <rschilling@student.tugraz.at>2016-08-31 09:20:04 +0200
commit036cc8c27e8340a3eed63444bd3f42f86037f350 (patch)
tree1fb65404f9dacb04b67dcb0f51aea6dc9b4a565d /lib/api/entities.rb
parent4d042afeced540c0acd887714d8ec7c962b7c507 (diff)
downloadgitlab-ce-api-confidential-issues.tar.gz
API: Expose issue#confidentialapi-confidential-issues
Diffstat (limited to 'lib/api/entities.rb')
-rw-r--r--lib/api/entities.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb
index 4335e3055ef..e3a8ff6de80 100644
--- a/lib/api/entities.rb
+++ b/lib/api/entities.rb
@@ -211,6 +211,7 @@ module API
expose :user_notes_count
expose :upvotes, :downvotes
expose :due_date
+ expose :confidential
expose :web_url do |issue, options|
Gitlab::UrlBuilder.build(issue)