Mention project name in fork notice

This commit is contained in:
Achilleas Pipinellis 2015-08-22 19:38:22 +03:00 committed by Rémy Coutable
parent 75ad91822d
commit c6e0db03eb

View file

@ -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