Commit 52c0195d authored by Bob Van Landuyt's avatar Bob Van Landuyt

Better variable names

So the title doesn't seem to be set _on_ a merge request.
parent 224c2add
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment