gitlab-org--gitlab-foss/app/models/concerns/protected_branch_access.rb

11 lines
196 B
Ruby
Raw Normal View History

module ProtectedBranchAccess
extend ActiveSupport::Concern
included do
include ProtectedRefAccess
belongs_to :protected_branch
delegate :project, to: :protected_branch
end
end