Skip to content
This repository
Browse code

[7668] part deux (forgot to add the railties love to the mix)

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7669 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit 03f318718e460a553062a2bff4507c8c80725304 1 parent 5edc81d
risk danger olson authored September 28, 2007

Showing 1 changed file with 3 additions and 0 deletions. Show diff stats Hide diff stats

  1. 3  railties/environments/test.rb
3  railties/environments/test.rb
@@ -13,6 +13,9 @@
13 13
 config.action_controller.consider_all_requests_local = true
14 14
 config.action_controller.perform_caching             = false
15 15
 
  16
+# Disable request forgery protection in test environment
  17
+config.action_controller.allow_forgery_protection    = false
  18
+
16 19
 # Tell ActionMailer not to deliver emails to the real world.
17 20
 # The :test delivery method accumulates sent emails in the
18 21
 # ActionMailer::Base.deliveries array.

0 notes on commit 03f3187

Please sign in to comment.
Something went wrong with that request. Please try again.