Module: ActiveScaffold::Bridges::Cancan::ModelUserAccess::Model

Extended by:
ActiveSupport::Concern
Defined in:
lib/active_scaffold/bridges/cancan/cancan_bridge.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#current_abilityObject

Instance-level access to the current ability



84
85
86
# File 'lib/active_scaffold/bridges/cancan/cancan_bridge.rb', line 84

def current_ability
  self.class.current_ability
end