debian-mirror-gitlab/app/models/concerns/protected_branch_access.rb

8 lines
141 B
Ruby
Raw Normal View History

2016-09-13 17:45:13 +05:30
module ProtectedBranchAccess
extend ActiveSupport::Concern
def humanize
self.class.human_access_levels[self.access_level]
end
end