Class: Motor::CancanUtils::CanManageAll

Inherits:
Object
  • Object
show all
Includes:
CanCan::Ability, AbilityPatch
Defined in:
lib/motor/cancan_utils/can_manage_all.rb

Instance Method Summary collapse

Methods included from AbilityPatch

#rules_hash, #serialized_rules

Constructor Details

#initialize(_ = nil) ⇒ CanManageAll

Returns a new instance of CanManageAll.


9
10
11
# File 'lib/motor/cancan_utils/can_manage_all.rb', line 9

def initialize(_ = nil)
  can :manage, :all
end