Commit 1694dc8fe226c0687ce2c54a71739adba22f33c5

Authored by Micah Huff
1 parent 7ba4f2dc

Expose MergeRequest object as a notable in the API to allow for easy retrieval of comments

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/api/notes.rb
... ... @@ -3,7 +3,7 @@ module Gitlab
3 3 class Notes < Grape::API
4 4 before { authenticate! }
5 5  
6   - NOTEABLE_TYPES = [Issue, Snippet]
  6 + NOTEABLE_TYPES = [Issue, MergeRequest, Snippet]
7 7  
8 8 resource :projects do
9 9 # Get a list of project wall notes
... ...