diff options
| author | Z.J. van de Weg <zegerjan@gitlab.com> | 2016-06-01 11:23:09 +0200 |
|---|---|---|
| committer | Z.J. van de Weg <zegerjan@gitlab.com> | 2016-06-01 12:10:08 +0200 |
| commit | 91a7b9333b660abc866e52e1a614151cb529413d (patch) | |
| tree | c7ee15fd37e703229f6f197207304479251b5856 /lib/api | |
| parent | cbd7801b3d1d435a95ec70032c5acc9df33b0337 (diff) | |
| download | gitlab-ce-91a7b9333b660abc866e52e1a614151cb529413d.tar.gz | |
Incorportate feedback
Diffstat (limited to 'lib/api')
| -rw-r--r-- | lib/api/entities.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index 43e0ba388d0..a5582490a3a 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -175,6 +175,7 @@ module API expose :subscribed do |issue, options| issue.subscribed?(options[:current_user]) end + expose :user_notes_count expose :upvotes, :downvotes end @@ -192,6 +193,7 @@ module API expose :subscribed do |merge_request, options| merge_request.subscribed?(options[:current_user]) end + expose :user_notes_count end class MergeRequestChanges < MergeRequest |
