debian-mirror-gitlab/app/models/concerns/protected_branch_access.rb
2017-08-17 22:00:37 +05:30

11 lines
197 B
Ruby

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