summaryrefslogtreecommitdiff
path: root/app/models/concerns/protected_branch_access.rb
blob: 8156090fd9cef84984b80e1f830be0b901219d70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

module ProtectedBranchAccess
  extend ActiveSupport::Concern
  include ProtectedRefAccess

  included do
    belongs_to :protected_branch

    delegate :project, to: :protected_branch
  end
end