方法
Attributes
| [RW] | warning_message |
类公共方法
new(controller) 链接
来源: 显示 | 在 GitHub 上
# File actionpack/lib/action_controller/metal/request_forgery_protection.rb, line 316 def initialize(controller) @controller = controller end
实例公共方法
handle_unverified_request() 链接
来源: 显示 | 在 GitHub 上
# File actionpack/lib/action_controller/metal/request_forgery_protection.rb, line 320 def handle_unverified_request raise ActionController::InvalidAuthenticityToken, warning_message end