Indicate that single_discussion
is optional
This commit is contained in:
parent
f8b5fef9f7
commit
80b67a79f4
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ module IssuesHelper
|
|||
options_from_collection_for_select(options, 'name', 'title', params[:due_date])
|
||||
end
|
||||
|
||||
def link_to_discussions_to_resolve(merge_request, single_discussion)
|
||||
def link_to_discussions_to_resolve(merge_request, single_discussion = nil)
|
||||
link_text = merge_request.to_reference
|
||||
link_text += " (discussion #{single_discussion.first_note.id})" if single_discussion
|
||||
|
||||
|
|
Loading…
Reference in a new issue