summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-01-15 13:48:29 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-01-15 13:48:29 +0100
commit6b2f38f39a473e6791b39e61645d76638d4bd673 (patch)
treeb45c6476c4b0bf79afd4e2e1bf1dcab8b858a9a1
parentb7bb56c7a3504e259887909a2e8515c5896a173e (diff)
downloadgitlab-ce-6b2f38f39a473e6791b39e61645d76638d4bd673.tar.gz
Fix nonexistent method in artifacts controller
-rw-r--r--app/controllers/projects/artifacts_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/artifacts_controller.rb b/app/controllers/projects/artifacts_controller.rb
index dff0732bdfe..f159a6d6dc6 100644
--- a/app/controllers/projects/artifacts_controller.rb
+++ b/app/controllers/projects/artifacts_controller.rb
@@ -8,7 +8,7 @@ class Projects::ArtifactsController < Projects::ApplicationController
end
unless artifacts_file.exists?
- return not_found!
+ return render_404
end
send_file artifacts_file.path, disposition: 'attachment'