debian-mirror-gitlab/app/models/guest.rb
2017-08-17 22:00:37 +05:30

7 lines
131 B
Ruby

class Guest
class << self
def can?(action, subject = :global)
Ability.allowed?(nil, action, subject)
end
end
end