send_file(path)
Send the file stored at path as the response body.
# File actionpack/lib/action_dispatch/http/response.rb, line 360 def send_file(path) commit! @stream = FileBody.new(path) end