tab/app/models/client_ability.rb
Ilion Beyst a3a7ff8c44 Revert "Merge branch 'master' into filter-datatables"
This reverts commit 78863c40b7, reversing
changes made to bbaa070cca.
2015-09-10 22:25:52 +02:00

8 lines
153 B
Ruby

class Ability
include CanCan::Ability
def initialize(client)
client ||= Client.new # guest user (not logged in)
can :manage, :all
end
end