Commit 64f1bab6 authored by Rémy Coutable's avatar Rémy Coutable

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
parent c1921fb5
...@@ -32,7 +32,7 @@ class Projects::ForksController < Projects::ApplicationController ...@@ -32,7 +32,7 @@ class Projects::ForksController < Projects::ApplicationController
if continue_params if continue_params
redirect_to continue_params[:to], notice: continue_params[:notice] redirect_to continue_params[:to], notice: continue_params[:notice]
else 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
end end
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment