debian-mirror-gitlab/lib/gitlab/allowable.rb
2017-08-17 22:00:37 +05:30

7 lines
143 B
Ruby

module Gitlab
module Allowable
def can?(user, action, subject = :global)
Ability.allowed?(user, action, subject)
end
end
end