debian-mirror-gitlab/app/models/concerns/protected_branch_access.rb
2023-07-09 08:55:56 +05:30

12 lines
225 B
Ruby

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