Merge branch 'fix-deprecation-warning' into 'master'

Fix a API deprecation warning

See merge request !8587
This commit is contained in:
Rémy Coutable 2017-01-16 05:15:52 +00:00
commit daaaf5ef9f

View file

@ -294,7 +294,7 @@ module API
header['X-Sendfile'] = path
body
else
file FileStreamer.new(path)
path
end
end