Commit a037c9c2497bf6a813d2138afae22e55cde8b093

Authored by Dmitriy Zaporozhets
2 parents 6dff742b 1694dc8f

Merge pull request #2842 from inome/ExposeMergeRequestAsNotable

Expose MergeRequest object as a notable in the API to allow for easy ret...
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
... ...