aboutsummaryrefslogtreecommitdiffstats
path: root/railties/helpers
diff options
context:
space:
mode:
authorMichael Koziarski <michael@koziarski.com>2008-11-21 11:08:39 +0100
committerMichael Koziarski <michael@koziarski.com>2008-11-23 14:28:34 +0100
commitc4a0143854e6fecae5e1820f4f054e33547e866f (patch)
tree9b17de57c0b185c2649346cea4bbf4542ad3d4c6 /railties/helpers
parent9fdb15e60f4d4e37916e5354c50d559773bbe014 (diff)
downloadrails-c4a0143854e6fecae5e1820f4f054e33547e866f.tar.gz
rails-c4a0143854e6fecae5e1820f4f054e33547e866f.tar.bz2
rails-c4a0143854e6fecae5e1820f4f054e33547e866f.zip
Update the generated controller to not include the deprecated :secret option to protect_from_forgery
Diffstat (limited to 'railties/helpers')
-rw-r--r--railties/helpers/application_controller.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/railties/helpers/application_controller.rb b/railties/helpers/application_controller.rb
index 0a3ed822a4..ef33aa8353 100644
--- a/railties/helpers/application_controller.rb
+++ b/railties/helpers/application_controller.rb
@@ -5,8 +5,7 @@ class ApplicationController < ActionController::Base
helper :all # include all helpers, all the time
# See ActionController::RequestForgeryProtection for details
- # Uncomment the :secret if you're not using the cookie session store
- protect_from_forgery # :secret => '<%= app_secret %>'
+ protect_from_forgery
# See ActionController::Base for details
# Uncomment this to filter the contents of submitted sensitive data parameters