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
|
@ -10,10 +10,10 @@ module Issues
|
||||||
def issue_params_with_info_from_discussions
|
def issue_params_with_info_from_discussions
|
||||||
return {} unless merge_request_for_resolving_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
|
end
|
||||||
|
|
||||||
def title_for_merge_request
|
def title_from_merge_request
|
||||||
"Follow-up from \"#{merge_request_for_resolving_discussions.title}\""
|
"Follow-up from \"#{merge_request_for_resolving_discussions.title}\""
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue