method

included

Importance_0
v2.1.0 - Show latest stable - 0 notes - Class: ActionController::RequestForgeryProtection
included(base) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# 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
Register or log in to add new notes.