diff options
Diffstat (limited to 'app/models/discussion_note.rb')
-rw-r--r-- | app/models/discussion_note.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/discussion_note.rb b/app/models/discussion_note.rb index fc168ae74a9..510aefbf609 100644 --- a/app/models/discussion_note.rb +++ b/app/models/discussion_note.rb @@ -1,5 +1,5 @@ class DiscussionNote < Note - NOTEABLE_TYPES = %w(MergeRequest).freeze + NOTEABLE_TYPES = %w(MergeRequest Issue Commit Snippet).freeze validates :noteable_type, inclusion: { in: NOTEABLE_TYPES } |