diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-30 22:25:02 -0800 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-30 22:25:02 -0800 |
commit | a037c9c2497bf6a813d2138afae22e55cde8b093 (patch) | |
tree | a731560c5c7e639b4165f422cbf88d772d0a0bc2 | |
parent | 6dff742b6617a9a8bb4fd5d8ee7acc0327919cfb (diff) | |
parent | 1694dc8fe226c0687ce2c54a71739adba22f33c5 (diff) | |
download | gitlab-ce-a037c9c2497bf6a813d2138afae22e55cde8b093.tar.gz |
Merge pull request #2842 from inome/ExposeMergeRequestAsNotable
Expose MergeRequest object as a notable in the API to allow for easy ret...
-rw-r--r-- | lib/api/notes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/notes.rb b/lib/api/notes.rb index 4613db54578..70344d6e381 100644 --- a/lib/api/notes.rb +++ b/lib/api/notes.rb @@ -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 |