diff options
author | Michael Koziarski <michael@koziarski.com> | 2008-11-21 11:08:39 +0100 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2008-11-23 14:28:34 +0100 |
commit | c4a0143854e6fecae5e1820f4f054e33547e866f (patch) | |
tree | 9b17de57c0b185c2649346cea4bbf4542ad3d4c6 | |
parent | 9fdb15e60f4d4e37916e5354c50d559773bbe014 (diff) | |
download | rails-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
-rw-r--r-- | railties/helpers/application_controller.rb | 3 |
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 |