method
included
v2.2.1 -
Show latest stable
- Class:
ActionController::RequestForgeryProtection
included(base)public
No documentation available.
# File actionpack/lib/action_controller/request_forgery_protection.rb, line 6
def self.included(base)
base.class_eval do
class_inheritable_accessor :request_forgery_protection_options
self.request_forgery_protection_options = {}
helper_method :form_authenticity_token
helper_method :protect_against_forgery?
end
base.extend(ClassMethods)
end