= private = protected
protect_against_forgery?()
Checks if the controller allows forgery protection.
# File actionpack/lib/action_controller/metal/request_forgery_protection.rb, line 596 def protect_against_forgery? # :doc: allow_forgery_protection && (!session.respond_to?(:enabled?) || session.enabled?) end