Skip to content
This repository
Browse code

Renamed Redirector to Redirecting (its a module, not a class)

  • Loading branch information...
commit 9b41e1e4d8b9d159254dc4ad4bbd3207f1b49eb5 1 parent 83f4d86
David Heinemeier Hansson dhh authored
2  actionpack/lib/action_controller.rb
@@ -24,7 +24,7 @@ module ActionController
24 24 autoload :MimeResponds
25 25 autoload :RackConvenience
26 26 autoload :Compatibility
27   - autoload :Redirector
  27 + autoload :Redirecting
28 28 autoload :Rendering
29 29 autoload :RenderOptions
30 30 autoload :Rescue
2  actionpack/lib/action_controller/base.rb
@@ -8,7 +8,7 @@ class Base < Metal
8 8 include ActionController::Helpers
9 9 include ActionController::HideActions
10 10 include ActionController::UrlFor
11   - include ActionController::Redirector
  11 + include ActionController::Redirecting
12 12 include ActionController::Rendering
13 13 include ActionController::RenderOptions::All
14 14 include ActionController::Layouts
2  actionpack/lib/action_controller/metal.rb
@@ -58,7 +58,7 @@ def initialize(*)
58 58
59 59 # Basic implementations for content_type=, location=, and headers are
60 60 # provided to reduce the dependency on the RackConvenience module
61   - # in Renderer and Redirector.
  61 + # in Rendering and Redirecting.
62 62
63 63 def content_type=(type)
64 64 headers["Content-Type"] = type.to_s
2  actionpack/lib/action_controller/metal/redirector.rb → ...onpack/lib/action_controller/metal/redirecting.rb
@@ -7,7 +7,7 @@ def initialize(message = nil)
7 7 end
8 8 end
9 9
10   - module Redirector
  10 + module Redirecting
11 11 extend ActiveSupport::Concern
12 12 include AbstractController::Logger
13 13

0 comments on commit 9b41e1e

Please sign in to comment.
Something went wrong with that request. Please try again.