Commit a037c9c2 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #2842 from inome/ExposeMergeRequestAsNotable

Expose MergeRequest object as a notable in the API to allow for easy ret...
parents 6dff742b 1694dc8f
...@@ -3,7 +3,7 @@ module Gitlab ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment