Remove keep_artifacts from BuildsController
This commit is contained in:
parent
c59947112f
commit
950d78f6d9
|
@ -78,12 +78,6 @@ class Projects::BuildsController < Projects::ApplicationController
|
|||
end
|
||||
end
|
||||
|
||||
def keep_artifacts
|
||||
@build.keep_artifacts
|
||||
redirect_to namespace_project_build_path(project.namespace, project, @build),
|
||||
notice: "Artifacts will not be removed!"
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def build
|
||||
|
|
Loading…
Reference in New Issue