diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2007-10-01 02:02:50 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2007-10-01 02:02:50 +0000 |
commit | 4af5dbbfccdc4f83b43b4acac246c5e0d8f9199c (patch) | |
tree | a0ae71e852d01992d129817fae148e724f2ec7b0 /railties | |
parent | 860cf2d44e01114af8ce83fffee3689df812a55c (diff) | |
download | rails-4af5dbbfccdc4f83b43b4acac246c5e0d8f9199c.tar.gz rails-4af5dbbfccdc4f83b43b4acac246c5e0d8f9199c.tar.bz2 rails-4af5dbbfccdc4f83b43b4acac246c5e0d8f9199c.zip |
A set secret causes trouble with the cookie store
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7704 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties')
-rw-r--r-- | railties/helpers/application.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/helpers/application.rb b/railties/helpers/application.rb index 0a72bba2c9..d3d33e4f9d 100644 --- a/railties/helpers/application.rb +++ b/railties/helpers/application.rb @@ -5,6 +5,6 @@ class ApplicationController < ActionController::Base helper :all # include all helpers, all the time # See ActionController::RequestForgeryProtection for details - # If you're using the Cookie Session Store you can leave out the :secret - protect_from_forgery :secret => '<%= app_secret %>' + # Uncomment the :secret if you're not using the cookie session store + protect_from_forgery # :secret => '<%= app_secret %>' end
\ No newline at end of file |