debian-mirror-gitlab/app/models/concerns/protected_branch_access.rb
2016-09-13 17:45:13 +05:30

7 lines
141 B
Ruby

module ProtectedBranchAccess
extend ActiveSupport::Concern
def humanize
self.class.human_access_levels[self.access_level]
end
end