提交 b20a105e 编写于 作者: W wycats

Fixes typo (ht: Claudio Poli) [#4107 state:closed]

上级 afb786ad
......@@ -63,7 +63,7 @@ def ip_spoofing_check=(value)
def ip_spoofing_check
ActiveSupport::Deprecation.warn "ActionController::Base.ip_spoofing_check is deprecated. " <<
"Configuring ip_spoofing_check on the application configures a middleware.", caller
Rails.application.config.action_disaptch.ip_spoofing_check
Rails.application.config.action_dispatch.ip_spoofing_check
end
def trusted_proxies=(value)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册