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:
Dmitriy Zaporozhets 2013-01-30 22:25:02 -08:00
commit a037c9c249

View file

@ -3,7 +3,7 @@ module Gitlab
class Notes < Grape::API
before { authenticate! }
NOTEABLE_TYPES = [Issue, Snippet]
NOTEABLE_TYPES = [Issue, MergeRequest, Snippet]
resource :projects do
# Get a list of project wall notes