Fix a API deprecation warning

This commit is contained in:
Robert Schilling 2017-01-16 00:38:25 +01:00
parent bf8e174f0a
commit 1cccb37831

View file

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