Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-07-11 15:04:27 +0300
committerLin Jen-Shin <godfat@godfat.org>2016-07-11 15:04:46 +0300
commit2b728ed3dabcced23370b39ce256a03cf30fe86d (patch)
tree5975ae144fc6f9e32b78f509ba48bcf3d473bcf7 /app/controllers/projects/artifacts_controller.rb
parent4b9f76cede975106e1e34af787e46720e3c3bb2e (diff)
Just give regular 404, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5094#note_12984211
Diffstat (limited to 'app/controllers/projects/artifacts_controller.rb')
-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 c6363999670..7241949393b 100644
--- a/app/controllers/projects/artifacts_controller.rb
+++ b/app/controllers/projects/artifacts_controller.rb
@@ -25,7 +25,7 @@ class Projects::ArtifactsController < Projects::ApplicationController
if entry.exists?
send_artifacts_entry(build, entry)
else
- render json: {}, status: 404
+ render_404
end
end