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 |
# File 'lib/action_controller/request_forgery_protection.rb', line 6 def self.included(base) base.class_eval do helper_method :form_authenticity_token helper_method :protect_against_forgery? end base.extend(ClassMethods) end |