diff options
Diffstat (limited to 'app/models/synthetic_note.rb')
-rw-r--r-- | app/models/synthetic_note.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/synthetic_note.rb b/app/models/synthetic_note.rb index f88fa052665..e71f9838d9b 100644 --- a/app/models/synthetic_note.rb +++ b/app/models/synthetic_note.rb @@ -1,6 +1,8 @@ # frozen_string_literal: true class SyntheticNote < Note + self.allow_legacy_sti_class = true + attr_accessor :resource_parent, :event def self.note_attributes(action, event, resource, resource_parent) |