Update the generated controller to not include the deprecated :secret option to protect_from_forgery
This commit is contained in:
parent
9fdb15e60f
commit
c4a0143854
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue