Sha256: cd6aa292b42c6b9d69dfd950b1d966e980e11f953f1fff941ef24e62edb14fde

Contents?: true

Size: 328 Bytes

Versions: 32

Compression:

Stored size: 328 Bytes

Contents

# Application's CanCan ability class, include all gem abilities
#------------------------------------------------------------------------------
class Ability
  include CanCan::Ability
  include DmCore::Concerns::Ability
  
  def initialize(user)
    dm_core_abilities(user)           if respond_to? :dm_core_abilities
  end
end

Version data entries

32 entries across 32 versions & 2 rubygems

Version Path
dm_event-4.2.3.10 spec/dummy/app/models/ability.rb
dm_core-4.2.3.10 spec/dummy/app/models/ability.rb
dm_event-4.2.3.9 spec/dummy/app/models/ability.rb
dm_core-4.2.3.9 spec/dummy/app/models/ability.rb
dm_event-4.2.3.8 spec/dummy/app/models/ability.rb
dm_core-4.2.3.8 spec/dummy/app/models/ability.rb
dm_event-4.2.3.7 spec/dummy/app/models/ability.rb
dm_core-4.2.3.7 spec/dummy/app/models/ability.rb
dm_event-4.2.3.6 spec/dummy/app/models/ability.rb
dm_core-4.2.3.6 spec/dummy/app/models/ability.rb
dm_event-4.2.3.5 spec/dummy/app/models/ability.rb
dm_core-4.2.3.5 spec/dummy/app/models/ability.rb
dm_event-4.2.3.4 spec/dummy/app/models/ability.rb
dm_core-4.2.3.4 spec/dummy/app/models/ability.rb
dm_event-4.2.3.3 spec/dummy/app/models/ability.rb
dm_core-4.2.3.3 spec/dummy/app/models/ability.rb
dm_event-4.2.3.2 spec/dummy/app/models/ability.rb
dm_core-4.2.3.2 spec/dummy/app/models/ability.rb
dm_event-4.2.3.1 spec/dummy/app/models/ability.rb
dm_core-4.2.3.1 spec/dummy/app/models/ability.rb