From 70830c23002c198d96cae1bf9cdf153b025f9c09 Mon Sep 17 00:00:00 2001 From: George Andrinopoulos Date: Wed, 25 Jul 2018 21:22:01 +0300 Subject: Add target branch to cherry pick confirmation message --- app/controllers/projects/commit_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers') diff --git a/app/controllers/projects/commit_controller.rb b/app/controllers/projects/commit_controller.rb index 44b176d304e..641e1d362b5 100644 --- a/app/controllers/projects/commit_controller.rb +++ b/app/controllers/projects/commit_controller.rb @@ -101,7 +101,7 @@ class Projects::CommitController < Projects::ApplicationController @branch_name = create_new_branch? ? @commit.cherry_pick_branch_name : @start_branch - create_commit(Commits::CherryPickService, success_notice: "The #{@commit.change_type_title(current_user)} has been successfully cherry-picked.", + create_commit(Commits::CherryPickService, success_notice: "The #{@commit.change_type_title(current_user)} has been successfully cherry-picked into #{@start_branch}.", success_path: -> { successful_change_path }, failure_path: failed_change_path) end -- cgit v1.2.1