diff options
author | Rémy Coutable <remy@rymai.me> | 2017-02-06 14:18:30 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-02-06 14:18:30 +0300 |
commit | da359c46b598ba44cff1829ab4abe49c4c225ae2 (patch) | |
tree | 3e1a3c328f2f18304e7caa637f23c5807a1e57d9 /lib | |
parent | 572fb0be9b1d45437b7c0ed1000399657f471ec7 (diff) | |
parent | f5de8f159e9fb79ed523fcb41c4b062eeaf3f811 (diff) |
Merge branch 'api-fix-files' into 'master'
API: Fix file downloading
See merge request !8953
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 |