method

skip_forgery_protection

Importance_1
v7.1.3.2 - Show latest stable - 0 notes - 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.

Show source
Register or log in to add new notes.