gitlab-org--gitlab-foss/lib/gitlab/allowable.rb
2016-12-13 14:44:43 +01:00

8 lines
134 B
Ruby

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