Skip to content
Snippets Groups Projects

Remove EE-specific code from 'Discussion' models

Merged Sean McGivern requested to merge remove-ee-specific-code-from-plan-and-create-models into master
All threads resolved!
2 files
+ 15
5
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -7,11 +7,7 @@
#
# A note of this type is never resolvable.
class LegacyDiffNote < Note
# Elastic search configuration (it does not support STI properly)
document_type 'doc'
index_name [Rails.application.class.parent_name.downcase, Rails.env].join('-')
include Elastic::NotesSearch
prepend EE::LegacyDiffNote
include NoteOnDiff
serialize :st_diff # rubocop:disable Cop/ActiveRecordSerialize
Loading