method

included

Importance_0
v2.3.8 - Show latest stable - 0 notes - Class: ActionController::Flash
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/flash.rb, line 29
    def self.included(base)
      base.class_eval do
        include InstanceMethods

        alias_method_chain :perform_action, :flash
        alias_method_chain :reset_session,  :flash
        alias_method_chain :redirect_to,    :flash

        helper_method :alert
        helper_method :notice
      end
    end
Register or log in to add new notes.