1
0
Fork 0
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:
Piotr Sarnacki 2012-05-19 19:02:38 -07:00
commit da97cf016a

View file

@ -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)