提交 9b41e1e4 编写于 作者: D David Heinemeier Hansson

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

上级 83f4d86a
......@@ -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 @@ class Base < Metal
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 @@ def initialize(*)
# 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 @@ def initialize(message = nil)
end
end
module Redirector
module Redirecting
extend ActiveSupport::Concern
include AbstractController::Logger
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册