diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2017-02-03 12:42:11 +0100 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2017-02-03 12:42:11 +0100 |
commit | 6e1d675de97122a966b16b7b732b2b145bbfc201 (patch) | |
tree | 45d9adc1522fd4fc60361d246b09f1abac80fbdc /lib | |
parent | 7dc8b6b2045d84ff232731ef92f2cac916732753 (diff) | |
download | gitlab-ce-6e1d675de97122a966b16b7b732b2b145bbfc201.tar.gz |
API: Fix file downloading
Diffstat (limited to 'lib')
-rw-r--r-- | lib/api/helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/helpers.rb b/lib/api/helpers.rb index eb5b947172a..dfab60f7fa5 100644 --- a/lib/api/helpers.rb +++ b/lib/api/helpers.rb @@ -304,7 +304,7 @@ module API header['X-Sendfile'] = path body else - path + file path end end |