method
trix_attachment_content
rails latest stable - Class:
ActionText::Attachments::TrixConversion
trix_attachment_content()private
No documentation available.
# File actiontext/lib/action_text/attachments/trix_conversion.rb, line 29
def trix_attachment_content
if partial_path = attachable.try(:to_trix_content_attachment_partial_path)
ActionText::Content.render(partial: partial_path, formats: :html, object: self, as: model_name.element)
end
end