instance method
send_file
Ruby on Rails 3.1.12
Since v3.0.20 Last seen in v8.0.4Signature
send_file(event)
No documentation comment.
Parameters
-
eventreq
Source
# File actionpack/lib/action_controller/log_subscriber.rb, line 31
def send_file(event)
message = "Sent file %s"
message << " (%.1fms)"
info(message % [event.payload[:path], event.duration])
end
Defined in actionpack/lib/action_controller/log_subscriber.rb line 31
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::LogSubscriber