summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@gitlab.com>2017-03-08 00:00:21 +0100
committerBob Van Landuyt <bob@gitlab.com>2017-03-13 08:27:51 +0100
commit52c0195dccb7057dab5ecce74d2095ddb80c1b53 (patch)
tree0f1090380a9e2a22499e0e01912579a5628e0635
parent224c2addde2cd37daba354cd47a655891387dbe8 (diff)
downloadgitlab-ce-52c0195dccb7057dab5ecce74d2095ddb80c1b53.tar.gz
Better variable names
So the title doesn't seem to be set _on_ a merge request.
-rw-r--r--app/services/issues/build_service.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/services/issues/build_service.rb b/app/services/issues/build_service.rb
index b2b72e84b75..540ed0f98c2 100644
--- a/app/services/issues/build_service.rb
+++ b/app/services/issues/build_service.rb
@@ -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