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

+ (Object) included(base)



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

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