diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-01-05 12:08:18 -0200 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-01-15 12:47:25 -0200 |
commit | 9dfe2d6f9fabddf9a451a995678a9648c8aaf401 (patch) | |
tree | 07648ace06818d59aa85bc4efa5210263c1d6052 | |
parent | e709134214571d27cf2872a38c998a0e7bbc71f8 (diff) | |
download | rails-9dfe2d6f9fabddf9a451a995678a9648c8aaf401.tar.gz rails-9dfe2d6f9fabddf9a451a995678a9648c8aaf401.tar.bz2 rails-9dfe2d6f9fabddf9a451a995678a9648c8aaf401.zip |
Revert "log at debug level what line caused the redirect_to"
This reverts commit 3fa00070047b5d019d39e691598ee2890283d052.
Reason: This message is usually not accurate and annoying:
Redirected by ~/.rbenv/versions/1.9.3-p327-perf/lib/ruby/1.9.1/logger.rb:371:in `add'`
-rw-r--r-- | actionpack/lib/action_controller/metal/redirecting.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal/redirecting.rb b/actionpack/lib/action_controller/metal/redirecting.rb index 13ec55fe92..59b91a240e 100644 --- a/actionpack/lib/action_controller/metal/redirecting.rb +++ b/actionpack/lib/action_controller/metal/redirecting.rb @@ -65,7 +65,6 @@ module ActionController def redirect_to(options = {}, response_status = {}) #:doc: raise ActionControllerError.new("Cannot redirect to nil!") unless options raise AbstractController::DoubleRenderError if response_body - logger.debug { "Redirected by #{caller(1).first rescue "unknown"}" } if logger self.status = _extract_redirect_to_status(options, response_status) self.location = _compute_redirect_to_location(options) |