diff options
author | Carl Lerche <carllerche@mac.com> | 2009-05-26 15:03:09 -0700 |
---|---|---|
committer | Carl Lerche <carllerche@mac.com> | 2009-05-26 15:03:09 -0700 |
commit | a1f280e83d2b134e23897d4de457d76fb0095768 (patch) | |
tree | fd51ff61395ba4ef39996684dd5b53d2957369fb /actionpack/lib/action_controller/new_base | |
parent | 1358f77745c7a4afab0dab7796aa63072c9d323a (diff) | |
download | rails-a1f280e83d2b134e23897d4de457d76fb0095768.tar.gz rails-a1f280e83d2b134e23897d4de457d76fb0095768.tar.bz2 rails-a1f280e83d2b134e23897d4de457d76fb0095768.zip |
Got all the dispatch tests running on new base
Diffstat (limited to 'actionpack/lib/action_controller/new_base')
-rw-r--r-- | actionpack/lib/action_controller/new_base/compatibility.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller/new_base/compatibility.rb b/actionpack/lib/action_controller/new_base/compatibility.rb index fddfadcbf2..c09e086b1b 100644 --- a/actionpack/lib/action_controller/new_base/compatibility.rb +++ b/actionpack/lib/action_controller/new_base/compatibility.rb @@ -61,6 +61,9 @@ module ActionController # and images to a dedicated asset server away from the main web server. Example: # ActionController::Base.asset_host = "http://assets.example.com" cattr_accessor :asset_host + + cattr_accessor :ip_spoofing_check + self.ip_spoofing_check = true end # For old tests |