Permalink
Browse files

Make AC::LogSubscriber#send_file like #send_data

  • Loading branch information...
avakhov committed Mar 28, 2012
1 parent 98657ad commit 117382f914e0911de0de3420ed14f71c083acabf
Showing with 1 addition and 3 deletions.
  1. +1 −3 actionpack/lib/action_controller/log_subscriber.rb
@@ -33,9 +33,7 @@ def halted_callback(event)
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)

0 comments on commit 117382f

Please sign in to comment.