Module: Toolbox::DefaultController

Defined in:
lib/toolbox/default_controller.rb

Overview

Defines the default action.

Defined Under Namespace

Modules: ClassMethods, HelperMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.setupObject

:nodoc:



11
12
13
14
15
# File 'lib/toolbox/default_controller.rb', line 11

def self.setup #:nodoc:
  ActionController::Base.send(:extend, ClassMethods)
  #ActionController::Base.send(:include, InstanceMethods)
  ActionView::Base.send(:include, HelperMethods)
end