gitlab-org--gitlab-foss/lib/gitlab/allowable.rb
2016-12-14 08:36:03 +01:00

7 lines
133 B
Ruby

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