Merge branch '41136-job-erased' into 'master'

Change text from build to job in flash notice

Closes #41136

See merge request gitlab-org/gitlab-ce!15948
This commit is contained in:
Filipa Lacerda 2017-12-15 11:57:22 +00:00
commit ea1d025e36

View file

@ -110,7 +110,7 @@ class Projects::JobsController < Projects::ApplicationController
def erase
if @build.erase(erased_by: current_user)
redirect_to project_job_path(project, @build),
notice: "Build has been successfully erased!"
notice: "Job has been successfully erased!"
else
respond_422
end