From 7be7cf2936646ea2c80d9e5bec6a5526326785f3 Mon Sep 17 00:00:00 2001 From: Ciro Santilli Date: Sat, 26 Jul 2014 21:45:34 +0200 Subject: Remove unused title parameter. It is always overridden by to humanized source branch name by MergeRequests::BuilService, which is used by new_project_merge_request_path. --- app/helpers/merge_requests_helper.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'app/helpers/merge_requests_helper.rb') diff --git a/app/helpers/merge_requests_helper.rb b/app/helpers/merge_requests_helper.rb index cc63db2035e..259928449f7 100644 --- a/app/helpers/merge_requests_helper.rb +++ b/app/helpers/merge_requests_helper.rb @@ -19,8 +19,7 @@ module MergeRequestsHelper source_project_id: event.project.id, target_project_id: target_project.id, source_branch: event.branch_name, - target_branch: target_project.repository.root_ref, - title: event.branch_name.titleize.humanize + target_branch: target_project.repository.root_ref } end -- cgit v1.2.1