Permalink
Browse files

Dont log the _method attribute either. Its already available in the h…

…eader
  • Loading branch information...
dhh committed Nov 4, 2008
1 parent 62ffc6e commit b29f95ed9a4f09674a187b237acc143ac5f4ddde
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/lib/action_controller/base.rb
@@ -1073,7 +1073,7 @@ def redirect_to(options = {}, response_status = {}) #:doc:
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 @@ def log_processing_for_session_id
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

0 comments on commit b29f95e

Please sign in to comment.