diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-12-20 21:09:05 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-12-20 21:09:05 +0300 |
commit | 883d5720994852248f18cb3053dc9f053f28d6f9 (patch) | |
tree | 409c976ddc659f34afaae3b2e97f1d0325f6455c /app/models/description_version.rb | |
parent | 5e97da08cba997aefba6f6d13850f95536a80477 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/description_version.rb')
-rw-r--r-- | app/models/description_version.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/description_version.rb b/app/models/description_version.rb index 96c8553c101..fb61b7f5fde 100644 --- a/app/models/description_version.rb +++ b/app/models/description_version.rb @@ -6,6 +6,8 @@ class DescriptionVersion < ApplicationRecord validate :exactly_one_issuable + delegate :resource_parent, to: :issuable + def self.issuable_attrs %i(issue merge_request).freeze end |