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

8 lines
121 B
Ruby
Raw Normal View History

2016-11-24 13:41:30 +05:30
class Guest
class << self
def can?(action, subject)
Ability.allowed?(nil, action, subject)
end
end
end