diff options
author | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-08-25 17:20:58 -0700 |
---|---|---|
committer | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-08-25 17:20:58 -0700 |
commit | 303f9b8841b1f12ddd7bbc9c6b2e010eafd8e551 (patch) | |
tree | dcfa7c23027601452894431c9df5edc38bc3eae9 /actionpack | |
parent | a21aaca8eaa8f451fb0ec4814b51323439bd36ff (diff) | |
download | rails-303f9b8841b1f12ddd7bbc9c6b2e010eafd8e551.tar.gz rails-303f9b8841b1f12ddd7bbc9c6b2e010eafd8e551.tar.bz2 rails-303f9b8841b1f12ddd7bbc9c6b2e010eafd8e551.zip |
Redirector had an undeclared dependency on Logger.
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_controller/metal/redirector.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller/metal/redirector.rb b/actionpack/lib/action_controller/metal/redirector.rb index 20060b001f..f79fd54acd 100644 --- a/actionpack/lib/action_controller/metal/redirector.rb +++ b/actionpack/lib/action_controller/metal/redirector.rb @@ -8,6 +8,9 @@ module ActionController end module Redirector + extend ActiveSupport::Concern + include AbstractController::Logger + def redirect_to(url, status) #:doc: raise AbstractController::DoubleRenderError if response_body logger.info("Redirected to #{url}") if logger && logger.info? |