提交 54a69c31 编写于 作者: W wycats

Typo in config.action_dispatch

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