Sha256: 285c36277a38806897619845c0053439488ff99066e16f11a1d374d65261ab1a
Contents?: true
Size: 336 Bytes
Versions: 20
Compression:
Stored size: 336 Bytes
Contents
# frozen_string_literal: true # CanCanCan Ability class 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
20 entries across 20 versions & 1 rubygems