method

marked_for_same_origin_verification?

marked_for_same_origin_verification?()
private

If the verify_authenticity_token before_action ran, verify that JavaScript responses are only served to same-origin GET requests.