Skip to content
Snippets Groups Projects
Commit 6dcb75f9 authored by Lin Jen-Shin's avatar Lin Jen-Shin
Browse files
parent 78c37bdd
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -205,10 +205,8 @@ module API
def present_artifact!(artifacts_file)
if !artifacts_file.file_storage?
redirect_to(build.artifacts_file.url)
elsif artifacts_file.exists?
present_file!(artifacts_file.path, artifacts_file.filename)
else
not_found!
end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment