Module: ViewDriver::ActionControllerExtensions

Defined in:
lib/view_driver/action_controller_extensions.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Constant Summary collapse

FILTER_OPTIONS =
[:only, :except, :if, :unless]

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



5
6
7
8
9
# File 'lib/view_driver/action_controller_extensions.rb', line 5

def self.included(base)
  base.extend ClassMethods
  base.cattr_accessor :existing_sections
  base.send :include, InstanceMethods
end