diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/models/action_text/rich_text.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/action_text/rich_text.rb b/app/models/action_text/rich_text.rb index 7c5211a67e..8ef3436cc2 100644 --- a/app/models/action_text/rich_text.rb +++ b/app/models/action_text/rich_text.rb @@ -3,6 +3,7 @@ class ActionText::RichText < ActiveRecord::Base serialize :body, ActionText::Content + belongs_to :record, polymorphic: true, touch: true has_many_attached :embeds after_save do |