summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2016-02-19 16:35:53 +0000
committerRémy Coutable <remy@rymai.me>2016-02-19 16:35:53 +0000
commit0a71920f653a0e3d005a1c3f2976f44a13419dc5 (patch)
treede9325ba4e59c049926fd0f8b426830253b4aee7
parent75ad91822d638f05f09da5c570dfe16b4a8dd8ea (diff)
parentc6e0db03eb85fe24a44073bab1276738319fd79a (diff)
downloadgitlab-ce-0a71920f653a0e3d005a1c3f2976f44a13419dc5.tar.gz
Merge branch 'axil/gitlab-ce-mention-project-in-fork-notice' into 'master'
Mention project name in fork notice _Originally opened at !1186 by @axil._ - - - I missed this one in !1070 See merge request !2897
-rw-r--r--app/controllers/projects/forks_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/forks_controller.rb b/app/controllers/projects/forks_controller.rb
index e61e01c4a59..0c551501ca4 100644
--- a/app/controllers/projects/forks_controller.rb
+++ b/app/controllers/projects/forks_controller.rb
@@ -32,7 +32,7 @@ class Projects::ForksController < Projects::ApplicationController
if continue_params
redirect_to continue_params[:to], notice: continue_params[:notice]
else
- redirect_to namespace_project_path(@forked_project.namespace, @forked_project), notice: "The project was successfully forked."
+ redirect_to namespace_project_path(@forked_project.namespace, @forked_project), notice: "The project '#{@forked_project.name}' was successfully forked."
end
end
else