Welcome to mirror list, hosted at ThFree Co, Russian Federation.

protected_branch_access.rb « concerns « models « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5a7b36070e79e8fe43c3bcddb3ac12cd27efbe81 (plain)
1
2
3
4
5
6
7
module ProtectedBranchAccess
  extend ActiveSupport::Concern

  def humanize
    self.class.human_access_levels[self.access_level]
  end
end