Module: CanCan::ModelAdditions

Defined in:
lib/cancan/model_additions.rb

Overview

This module adds the accessible_by class method to a model. It is included in the model adapters.

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



27
28
29
# File 'lib/cancan/model_additions.rb', line 27

def self.included(base)
  base.extend ClassMethods
end