aboutsummaryrefslogtreecommitdiffstats
path: root/lib/active_text/attachable.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/active_text/attachable.rb')
-rw-r--r--lib/active_text/attachable.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/active_text/attachable.rb b/lib/active_text/attachable.rb
index 3a6648331e..f3ea47282f 100644
--- a/lib/active_text/attachable.rb
+++ b/lib/active_text/attachable.rb
@@ -53,7 +53,7 @@ module ActiveText
super.merge(attachable_sgid: attachable_sgid)
end
- def to_active_text_attributes(attributes = {})
+ def to_rich_text_attributes(attributes = {})
attributes.dup.tap do |attributes|
attributes[:sgid] = attachable_sgid
attributes[:content_type] = attachable_content_type