Module: Platanus::Canned2::Controller

Defined in:
lib/platanus/canned2.rb

Overview

Controller extension, include this in the the base application controller and use the canned_setup method seal it.

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



18
19
20
21
22
23
24
25
# File 'lib/platanus/canned2.rb', line 18

def self.included(klass)
  class << klass
    # Excluded actions and callbacks are defined in per class basis
    attr_accessor :brk_excluded
    attr_accessor :brk_before
  end
  klass.extend ClassMethods
end