From 4af5dbbfccdc4f83b43b4acac246c5e0d8f9199c Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 1 Oct 2007 02:02:50 +0000 Subject: 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 --- railties/helpers/application.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'railties/helpers') 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 -- cgit v1.2.3