OSDN Git Service
(root)
/
wvm
/
gitlab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ba4f2d
)
Expose MergeRequest object as a notable in the API to allow for easy retrieval of...
author
Micah Huff
<micah@micahhuff.com>
Wed, 30 Jan 2013 05:15:13 +0000
(21:15 -0800)
committer
Micah Huff
<micah@micahhuff.com>
Wed, 30 Jan 2013 05:15:13 +0000
(21:15 -0800)
lib/api/notes.rb
patch
|
blob
|
history
diff --git
a/lib/api/notes.rb
b/lib/api/notes.rb
index
4613db5
..
70344d6
100644
(file)
--- 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