mirror of https://github.com/rails/rails
Renamed Redirector to Redirecting (its a module, not a class)
This commit is contained in:
parent
83f4d86a93
commit
9b41e1e4d8
|
@ -24,7 +24,7 @@ module ActionController
|
|||
autoload :MimeResponds
|
||||
autoload :RackConvenience
|
||||
autoload :Compatibility
|
||||
autoload :Redirector
|
||||
autoload :Redirecting
|
||||
autoload :Rendering
|
||||
autoload :RenderOptions
|
||||
autoload :Rescue
|
||||
|
|
|
@ -8,7 +8,7 @@ module ActionController
|
|||
include ActionController::Helpers
|
||||
include ActionController::HideActions
|
||||
include ActionController::UrlFor
|
||||
include ActionController::Redirector
|
||||
include ActionController::Redirecting
|
||||
include ActionController::Rendering
|
||||
include ActionController::RenderOptions::All
|
||||
include ActionController::Layouts
|
||||
|
|
|
@ -58,7 +58,7 @@ module ActionController
|
|||
|
||||
# Basic implementations for content_type=, location=, and headers are
|
||||
# provided to reduce the dependency on the RackConvenience module
|
||||
# in Renderer and Redirector.
|
||||
# in Rendering and Redirecting.
|
||||
|
||||
def content_type=(type)
|
||||
headers["Content-Type"] = type.to_s
|
||||
|
|
|
@ -7,7 +7,7 @@ module ActionController
|
|||
end
|
||||
end
|
||||
|
||||
module Redirector
|
||||
module Redirecting
|
||||
extend ActiveSupport::Concern
|
||||
include AbstractController::Logger
|
||||
|
Loading…
Reference in New Issue