Sha256: 091d417d00c723474dfff0e668c580c5eb6a8a49bb02ab87286f591bb9962ed1
Contents?: true
Size: 277 Bytes
Versions: 5
Compression:
Stored size: 277 Bytes
Contents
class Ability include CanCan::Ability include PaidUp::Ability def initialize(user) user ||= User.new # anonymous user (not logged in) # Rails Application's initialization could go here. can :manage, Group, user: user initialize_paid_up(user) end end
Version data entries
5 entries across 5 versions & 1 rubygems