Module: Authorization::Controller::Rails

Defined in:
lib/declarative_authorization/controller/rails.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

:nodoc:



11
12
13
14
15
16
17
18
19
20
21
# File 'lib/declarative_authorization/controller/rails.rb', line 11

def self.included(base) # :nodoc:
  base.extend ClassMethods

  base.extend DSL

  base.module_eval do
    add_filter!
  end

  base.include Runtime
end