mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #5631 from avakhov/ac-log-subsriber-small-refac
Make AC::LogSubscriber#send_file like #send_data
This commit is contained in:
commit
da97cf016a
1 changed files with 1 additions and 3 deletions
|
@ -33,9 +33,7 @@ module ActionController
|
|||
end
|
||||
|
||||
def send_file(event)
|
||||
message = "Sent file %s"
|
||||
message << " (%.1fms)"
|
||||
info(message % [event.payload[:path], event.duration])
|
||||
info("Sent file %s (%.1fms)" % [event.payload[:path], event.duration])
|
||||
end
|
||||
|
||||
def redirect_to(event)
|
||||
|
|
Loading…
Reference in a new issue