summaryrefslogtreecommitdiff
path: root/app/models/guest.rb
blob: 9c8097e1ac8d1d3d292385bb3070af76725e4958 (plain)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

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