846e581732
to make sure we mean the global permissions
7 lines
131 B
Ruby
7 lines
131 B
Ruby
class Guest
|
|
class << self
|
|
def can?(action, subject = :global)
|
|
Ability.allowed?(nil, action, subject)
|
|
end
|
|
end
|
|
end
|