guest.rb 162 Bytes
Newer Older
1 2
# frozen_string_literal: true

3 4
class Guest
  class << self
5
    def can?(action, subject = :global)
6 7 8 9
      Ability.allowed?(nil, action, subject)
    end
  end
end