Permalink
Browse files

Typo in config.action_dispatch

  • Loading branch information...
1 parent dfc7ff6 commit 54a69c31edd240c8ed06d12be7b065153f44529f @wycats wycats committed Mar 8, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_controller/deprecated/base.rb
View
2 actionpack/lib/action_controller/deprecated/base.rb
@@ -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

0 comments on commit 54a69c3

Please sign in to comment.