Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Dont bother logging the parameters hash if there are no parameters

  • Loading branch information...
commit 55707da1a14814ad84f138ee98e5b5fb1a745afc 1 parent 0832bc6
@dhh dhh authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_controller/base.rb
View
2  actionpack/lib/action_controller/base.rb
@@ -1241,7 +1241,7 @@ def log_processing_for_parameters
parameters = respond_to?(:filter_parameters) ? filter_parameters(params) : params.dup
parameters = parameters.except!(:controller, :action, :format, :_method)
- logger.info " Parameters: #{parameters.inspect}"
+ logger.info " Parameters: #{parameters.inspect}" unless parameters.empty?
end
def default_render #:nodoc:
Please sign in to comment.
Something went wrong with that request. Please try again.