diff options
author | Bob Van Landuyt <bob@gitlab.com> | 2017-03-08 00:00:21 +0100 |
---|---|---|
committer | Bob Van Landuyt <bob@gitlab.com> | 2017-03-13 08:27:51 +0100 |
commit | 52c0195dccb7057dab5ecce74d2095ddb80c1b53 (patch) | |
tree | 0f1090380a9e2a22499e0e01912579a5628e0635 /app/services/issues/build_service.rb | |
parent | 224c2addde2cd37daba354cd47a655891387dbe8 (diff) | |
download | gitlab-ce-52c0195dccb7057dab5ecce74d2095ddb80c1b53.tar.gz |
Better variable names
So the title doesn't seem to be set _on_ a merge request.
Diffstat (limited to 'app/services/issues/build_service.rb')
-rw-r--r-- | app/services/issues/build_service.rb | 4 |
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 |