diff options
author | José Valim <jose.valim@gmail.com> | 2010-01-14 20:02:42 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-01-15 12:24:31 +0100 |
commit | 8b9bff95579498a0389d7634cafbcee37787c15f (patch) | |
tree | 7eb57bcec1072a383ccd1b06f9ac9165777c6775 /actionpack/lib | |
parent | 8c8942ed4f2da52aa42ccd46560acb0b5fd37cb8 (diff) | |
download | rails-8b9bff95579498a0389d7634cafbcee37787c15f.tar.gz rails-8b9bff95579498a0389d7634cafbcee37787c15f.tar.bz2 rails-8b9bff95579498a0389d7634cafbcee37787c15f.zip |
Small tweaks in ActionController subscriber messages format.
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_controller/railties/subscriber.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/railties/subscriber.rb b/actionpack/lib/action_controller/railties/subscriber.rb index c21305ac8f..0556c6b40e 100644 --- a/actionpack/lib/action_controller/railties/subscriber.rb +++ b/actionpack/lib/action_controller/railties/subscriber.rb @@ -6,7 +6,7 @@ module ActionController request = controller.request info "\nProcessed #{controller.class.name}##{event.payload[:action]} " \ - "to #{request.formats} (for #{request.remote_ip} at #{event.time.to_s(:db)}) " \ + "to #{request.formats.join(', ')} (for #{request.remote_ip} at #{event.time.to_s(:db)}) " \ "[#{request.method.to_s.upcase}]" params = controller.send(:filter_parameters, request.params) @@ -37,7 +37,7 @@ module ActionController end def redirect_to(event) - info "Redirected to #{event.payload[:location]} with status #{event.payload[:status]}" + info "Redirected to #{event.payload[:location]}" end def send_data(event) |