diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2008-11-04 18:12:32 +0100 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2008-11-04 18:12:32 +0100 |
commit | b29f95ed9a4f09674a187b237acc143ac5f4ddde (patch) | |
tree | d909430922754499254dac1f23520d0493cc54b7 /actionpack | |
parent | 62ffc6e4db1eecfe5c5a5f7471a9c39d665ada56 (diff) | |
download | rails-b29f95ed9a4f09674a187b237acc143ac5f4ddde.tar.gz rails-b29f95ed9a4f09674a187b237acc143ac5f4ddde.tar.bz2 rails-b29f95ed9a4f09674a187b237acc143ac5f4ddde.zip |
Dont log the _method attribute either. Its already available in the header
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_controller/base.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb index 74c04147fb..fc59668107 100644 --- a/actionpack/lib/action_controller/base.rb +++ b/actionpack/lib/action_controller/base.rb @@ -1073,7 +1073,7 @@ module ActionController #:nodoc: status = 302 end - response.redirected_to= options + response.redirected_to = options logger.info("Redirected to #{options}") if logger && logger.info? case options @@ -1248,7 +1248,7 @@ module ActionController #:nodoc: def log_processing_for_parameters parameters = respond_to?(:filter_parameters) ? filter_parameters(params) : params - parameters = parameters.except(:controller, :action, :format) + parameters = parameters.except(:controller, :action, :format, :_method) logger.info " Parameters: #{parameters.inspect}" end |