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

8 lines
131 B
Ruby
Raw Normal View History

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