Sha256: 95abcf12b1987b8b3f6e4caf6c98e2e281c03582cdc89ec0aa44db97fa6916f5

Contents?: true

Size: 128 Bytes

Versions: 28

Compression:

Stored size: 128 Bytes

Contents

class Ability
  include CanCan::Ability

  def initialize(user)
    can :manage, Event
    can :index, :admin_events
  end

end

Version data entries

28 entries across 28 versions & 2 rubygems

Version Path
alchemy_cms-3.1.0.beta1 spec/dummy/app/models/ability.rb
alchemy_cms-3.0.2 spec/dummy/app/models/ability.rb
alchemy_cms-3.0.1 spec/dummy/app/models/ability.rb
alchemy_cms-3.0.0 spec/dummy/app/models/ability.rb
alchemy_cms-3.0.0.rc8 spec/dummy/app/models/ability.rb
alchemy_cms-3.0.0.rc7 spec/dummy/app/models/ability.rb
alchemy_cms-3.0.0.rc6 spec/dummy/app/models/ability.rb
alchemy_cms-3.0.0.rc5 spec/dummy/app/models/ability.rb