debian-mirror-gitlab/app/models/guest.rb
2018-11-18 11:00:15 +05:30

9 lines
162 B
Ruby

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