Welcome to mirror list, hosted at ThFree Co, Russian Federation.

guest.rb « models « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 01285ca12644d6d044f46f19853fc4901e775c5b (plain)
1
2
3
4
5
6
7
class Guest
  class << self
    def can?(action, subject)
      Ability.allowed?(nil, action, subject)
    end
  end
end