Merge pull request #2842 from inome/ExposeMergeRequestAsNotable
Expose MergeRequest object as a notable in the API to allow for easy ret...
This commit is contained in:
commit
a037c9c249
|
@ -3,7 +3,7 @@ module Gitlab
|
||||||
class Notes < Grape::API
|
class Notes < Grape::API
|
||||||
before { authenticate! }
|
before { authenticate! }
|
||||||
|
|
||||||
NOTEABLE_TYPES = [Issue, Snippet]
|
NOTEABLE_TYPES = [Issue, MergeRequest, Snippet]
|
||||||
|
|
||||||
resource :projects do
|
resource :projects do
|
||||||
# Get a list of project wall notes
|
# Get a list of project wall notes
|
||||||
|
|
Loading…
Reference in a new issue