提交 5c17aa51 编写于 作者: D Daniel Lopes

on CSRF whitelisting the argument for :if must be a symbol

上级 faf27445
......@@ -16,7 +16,7 @@ class InvalidAuthenticityToken < ActionControllerError #:nodoc:
#
# class ApplicationController < ActionController::Base
# protect_from_forgery
# skip_before_filter :verify_authenticity_token, :if => json_request?
# skip_before_filter :verify_authenticity_token, :if => :json_request?
#
# protected
#
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册