method
skip_forgery_protection
v7.1.3.2 -
Show latest stable
- Class:
ActionController::RequestForgeryProtection::ClassMethods
skip_forgery_protection(options = {})public
Turn off request forgery protection. This is a wrapper for:
skip_before_action :verify_authenticity_token
See skip_before_action for allowed options.