diff options
Diffstat (limited to 'app/models/diff_note.rb')
-rw-r--r-- | app/models/diff_note.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/diff_note.rb b/app/models/diff_note.rb index d680d0e334f..33dd7308e14 100644 --- a/app/models/diff_note.rb +++ b/app/models/diff_note.rb @@ -8,6 +8,8 @@ class DiffNote < Note include DiffPositionableNote include Gitlab::Utils::StrongMemoize + self.allow_legacy_sti_class = true + def self.noteable_types %w[MergeRequest Commit DesignManagement::Design] end |