BigW Consortium Gitlab

Commit 6dcb75f9 by Lin Jen-Shin
parent 78c37bdd
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment