Module: ActiveScaffold::CancanBridge::ModelUserAccess::Model
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/active_scaffold/bridges/cancan/lib/cancan_bridge.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
-
#current_ability ⇒ Object
Instance-level access to the current ability.
Instance Method Details
#current_ability ⇒ Object
Instance-level access to the current ability
66 |
# File 'lib/active_scaffold/bridges/cancan/lib/cancan_bridge.rb', line 66 def current_ability; self.class.current_ability end |