Remove keep_artifacts from BuildsController

This commit is contained in:
Kamil Trzcinski
2016-06-13 11:03:30 +01:00
committed by Phil Hughes
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