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: 06cae00249a1dd33dd6d1c58b14a92a1cae891b7 (plain)
1
2
3
4
5
6
7
8
9
10
module ProtectedBranchAccess
  extend ActiveSupport::Concern

  included do
    include ProtectedRefAccess

    belongs_to :protected_branch
    delegate :project, to: :protected_branch
  end
end