Better variable names
So the title doesn't seem to be set _on_ a merge request.
This commit is contained in:
parent
224c2addde
commit
52c0195dcc
1 changed files with 2 additions and 2 deletions
|
@ -10,10 +10,10 @@ module Issues
|
|||
def issue_params_with_info_from_discussions
|
||||
return {} unless merge_request_for_resolving_discussions
|
||||
|
||||
{ title: title_for_merge_request, description: description_for_discussions }
|
||||
{ title: title_from_merge_request, description: description_for_discussions }
|
||||
end
|
||||
|
||||
def title_for_merge_request
|
||||
def title_from_merge_request
|
||||
"Follow-up from \"#{merge_request_for_resolving_discussions.title}\""
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue