Module: ActionController::RequestForgeryProtection
- Defined in:
- lib/action_controller/request_forgery_protection.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
6 7 8 9 10 11 12 13 14 |
# File '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. = {} helper_method :form_authenticity_token helper_method :protect_against_forgery? end base.extend(ClassMethods) end |