Module: ResponseFor::ActionController

Defined in:
lib/response_for/action_controller.rb

Overview

included into ActionController::Base

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



4
5
6
7
8
9
# File 'lib/response_for/action_controller.rb', line 4

def self.included(base)
  base.class_eval do
    extend ClassMethods
    alias_method_chain :default_render, :response_for
  end
end