diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-01-11 21:08:40 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-01-11 21:08:40 +0300 |
commit | 33f7ef81fd6bcab7bbdf0bc3f37d337256fb11fb (patch) | |
tree | da5c4d1d60ca6674523ca431a285d78dab2917aa /app/models/resource_label_event.rb | |
parent | ed94a4dd903dc4d20cbc1bce330b9c1b7a5f7fbf (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/resource_label_event.rb')
-rw-r--r-- | app/models/resource_label_event.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/models/resource_label_event.rb b/app/models/resource_label_event.rb index a1426540cf5..efffc1bd6dc 100644 --- a/app/models/resource_label_event.rb +++ b/app/models/resource_label_event.rb @@ -2,7 +2,6 @@ class ResourceLabelEvent < ResourceEvent include CacheMarkdownField - include IssueResourceEvent include MergeRequestResourceEvent cache_markdown_field :reference @@ -39,6 +38,10 @@ class ResourceLabelEvent < ResourceEvent issue || merge_request end + def synthetic_note_class + LabelNote + end + def project issuable.project end |