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

  included do
    include ProtectedRefAccess

    belongs_to :protected_branch

    delegate :project, to: :protected_branch
  end
end