Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…eader
  • Loading branch information...
commit b29f95ed9a4f09674a187b237acc143ac5f4ddde 1 parent 62ffc6e
@dhh dhh authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/lib/action_controller/base.rb
View
4 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
Please sign in to comment.
Something went wrong with that request. Please try again.