Commit 67a4b05e authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray

Change text from build to job in flash notice

parent a8f2e659
...@@ -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