aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/models/action_text/rich_text.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/action_text/rich_text.rb b/app/models/action_text/rich_text.rb
index efc35a6465..e4fc178ba4 100644
--- a/app/models/action_text/rich_text.rb
+++ b/app/models/action_text/rich_text.rb
@@ -8,6 +8,6 @@ class ActionText::RichText < ActiveRecord::Base
has_many_attached :embeds
after_save do
- self.embeds_attachments_blobs = body.attachments.map(&:attachable)
+ self.embeds_blobs = body.attachments.map(&:attachable)
end
end