debian-mirror-gitlab/app/models/guest.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
162 B
Ruby
Raw Normal View History

2018-11-18 11:00:15 +05:30
# frozen_string_literal: true
2016-11-24 13:41:30 +05:30
class Guest
class << self
2017-08-17 22:00:37 +05:30
def can?(action, subject = :global)
2016-11-24 13:41:30 +05:30
Ability.allowed?(nil, action, subject)
end
end
end