Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

… option to protect_from_forgery
  • Loading branch information...
commit c4a0143854e6fecae5e1820f4f054e33547e866f 1 parent 9fdb15e
@NZKoz NZKoz authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.