Just give regular 404, feedback:

https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5094#note_12984211
This commit is contained in:
Lin Jen-Shin 2016-07-11 20:04:27 +08:00
parent 4b9f76cede
commit 2b728ed3da
1 changed files with 1 additions and 1 deletions

View File

@ -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