a3a7ff8c44
This reverts commit78863c40b7
, reversing changes made tobbaa070cca
.
8 lines
153 B
Ruby
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
|