Skip to content
Browse files

Update the generated controller to not include the deprecated :secret…

… option to protect_from_forgery
  • Loading branch information...
1 parent 9fdb15e commit c4a0143854e6fecae5e1820f4f054e33547e866f @NZKoz NZKoz committed Nov 21, 2008
Showing with 1 addition and 2 deletions.
  1. +1 −2 railties/helpers/application_controller.rb
View
3 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

0 comments on commit c4a0143

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