summaryrefslogtreecommitdiff
path: root/lib/api/notes.rb
diff options
context:
space:
mode:
authorMicah Huff <micah@micahhuff.com>2013-01-29 21:15:13 -0800
committerMicah Huff <micah@micahhuff.com>2013-01-29 21:15:13 -0800
commit1694dc8fe226c0687ce2c54a71739adba22f33c5 (patch)
tree10fdb69847f7d4d007ff46d68b5f8e172c020a93 /lib/api/notes.rb
parent7ba4f2dcfaa85fb89e15d9caa21bf75ad976389f (diff)
downloadgitlab-ce-1694dc8fe226c0687ce2c54a71739adba22f33c5.tar.gz
Expose MergeRequest object as a notable in the API to allow for easy retrieval of comments
Diffstat (limited to 'lib/api/notes.rb')
-rw-r--r--lib/api/notes.rb2
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