Make notes for merge requests include commit notes and add helpers
This commit is contained in:
parent
dda852a0d5
commit
3f72af9994
4 changed files with 16 additions and 2 deletions
|
@ -7,6 +7,11 @@ class NotesController < ProjectResourceController
|
|||
|
||||
def index
|
||||
notes
|
||||
if params[:target_type] == "merge_request"
|
||||
@mixed_targets = true
|
||||
@main_target_type = params[:target_type].camelize
|
||||
end
|
||||
|
||||
respond_with(@notes)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue