summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-06-10 14:39:58 +0200
committerPhil Hughes <me@iamphill.com>2016-06-13 11:03:30 +0100
commit950d78f6d9ae43bf5c807d95326cf18afcfceedb (patch)
tree39b9a36068c7a6b0e8041f2a2b65dd04193754a3
parentc59947112f352a12e74563453a1bec3082baab41 (diff)
downloadgitlab-ce-950d78f6d9ae43bf5c807d95326cf18afcfceedb.tar.gz
Remove keep_artifacts from BuildsController
-rw-r--r--app/controllers/projects/builds_controller.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/app/controllers/projects/builds_controller.rb b/app/controllers/projects/builds_controller.rb
index 514f1b507fe..14c82826342 100644
--- a/app/controllers/projects/builds_controller.rb
+++ b/app/controllers/projects/builds_controller.rb
@@ -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