Module: PrintingPress::Controller

Defined in:
lib/printing_press/controller.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



4
5
6
7
8
# File 'lib/printing_press/controller.rb', line 4

def self.included(base)
  base.prepend_before_filter :set_printing_press_enabled_for_controller, :setup_printing_press
  base.after_filter :disable_printing_press	
  base.send :extend, ClassMethods
end