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
30 31 32 |
# File 'lib/cancan/model_additions.rb', line 30 def self.included(base) base.extend ClassMethods end |