Sha256: 4334e48e46f5fd44b4d7a0d597dfacc3c5aeeddf9d562227b1501506c8206269
Contents?: true
Size: 132 Bytes
Versions: 1
Compression:
Stored size: 132 Bytes
Contents
class Ability include CanCan::Ability def initialize(user) if user && user.admin? can :manage, :all end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
happy_seed-0.0.21 | lib/generators/happy_seed/roles/templates/ability.rb |