diff options
author | Micaël Bergeron <mbergeron@gitlab.com> | 2018-03-09 09:16:06 -0500 |
---|---|---|
committer | Micaël Bergeron <mbergeron@gitlab.com> | 2018-03-09 09:16:06 -0500 |
commit | fc6587f1f21c97fa19e3ae7eaac4e9add7b107b8 (patch) | |
tree | d83947812fb500e5f437a0d672901861dae5a13e /lib/api/runner.rb | |
parent | 6466739e2e61f790a9e1f09020dba710c4078a0f (diff) | |
download | gitlab-ce-fc6587f1f21c97fa19e3ae7eaac4e9add7b107b8.tar.gz |
Add proxy_download to perform proxied sending of all files
Diffstat (limited to 'lib/api/runner.rb')
-rw-r--r-- | lib/api/runner.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/runner.rb b/lib/api/runner.rb index 5ca758fed08..8da97a97754 100644 --- a/lib/api/runner.rb +++ b/lib/api/runner.rb @@ -249,7 +249,7 @@ module API get '/:id/artifacts' do job = authenticate_job! - present_artifacts!(job.artifacts_file, direct_download: params[:direct_download]) + present_carrierwave_file!(job.artifacts_file, supports_direct_download: params[:direct_download]) end end end |