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

This commit is contained in:
Micah Huff 2013-01-29 21:15:13 -08:00
parent 7ba4f2dcfa
commit 1694dc8fe2

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