提交 c4a01438 编写于 作者: M Michael Koziarski

Update the generated controller to not include the deprecated :secret option...

Update the generated controller to not include the deprecated :secret option to protect_from_forgery
上级 9fdb15e6
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册