From 4cf8d931aa8511aa93b8504e940d2f5ddfee7b4c Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Tue, 7 Nov 2023 21:10:15 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- app/models/protected_branch.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'app/models/protected_branch.rb') diff --git a/app/models/protected_branch.rb b/app/models/protected_branch.rb index aebce59a040..40a1a4392dd 100644 --- a/app/models/protected_branch.rb +++ b/app/models/protected_branch.rb @@ -5,6 +5,7 @@ class ProtectedBranch < ApplicationRecord include Gitlab::SQL::Pattern include FromUnion include EachBatch + include Presentable belongs_to :group, foreign_key: :namespace_id, touch: true, inverse_of: :protected_branches -- cgit v1.2.3