Commit ea1d025e authored by Filipa Lacerda's avatar Filipa Lacerda

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
parents 6547f549 67a4b05e
...@@ -110,7 +110,7 @@ class Projects::JobsController < Projects::ApplicationController ...@@ -110,7 +110,7 @@ class Projects::JobsController < Projects::ApplicationController
def erase def erase
if @build.erase(erased_by: current_user) if @build.erase(erased_by: current_user)
redirect_to project_job_path(project, @build), redirect_to project_job_path(project, @build),
notice: "Build has been successfully erased!" notice: "Job has been successfully erased!"
else else
respond_422 respond_422
end end
......
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