gitlab-org--gitlab-foss/lib/gitlab/allowable.rb

8 lines
133 B
Ruby
Raw Normal View History

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