来源: 显示 | 在GitHub上
# File actionpack/lib/action_controller/metal/request_forgery_protection.rb, line 307 def initialize(controller) @controller = controller end
# File actionpack/lib/action_controller/metal/request_forgery_protection.rb, line 311 def handle_unverified_request raise ActionController::InvalidAuthenticityToken, warning_message end