method
trix_attachment_content
v6.1.3.1 -
Show 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, object: self, as: model_name.element)
end
end