instance method
send_file
Ruby on Rails 7.1.6
Since v3.0.20Signature
send_file(path, options = {})
No documentation comment.
Parameters
-
pathreq -
optionsopt = {}
Source
# File actionpack/lib/action_controller/metal/instrumentation.rb, line 34
def send_file(path, options = {})
ActiveSupport::Notifications.instrument("send_file.action_controller",
options.merge(path: path)) do
super
end
end
Defined in actionpack/lib/action_controller/metal/instrumentation.rb line 34
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::Instrumentation