diff options
Diffstat (limited to 'lib/active_text/attachments')
-rw-r--r-- | lib/active_text/attachments/trix_conversion.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/active_text/attachments/trix_conversion.rb b/lib/active_text/attachments/trix_conversion.rb index 25eada6709..3eb83453f4 100644 --- a/lib/active_text/attachments/trix_conversion.rb +++ b/lib/active_text/attachments/trix_conversion.rb @@ -24,7 +24,7 @@ module ActiveText private def trix_attachment_content if partial_path = attachable.try(:to_trix_content_attachment_partial_path) - ApplicationRenderer.render(partial: partial_path, object: self, as: model_name.element) + ActiveText.renderer.render(partial: partial_path, object: self, as: model_name.element) end end end |