Class: ActionText::VideoEmbed

Inherits:
ApplicationRecord
  • Object
show all
Includes:
Attachable
Defined in:
app/models/action_text/video_embed.rb

Instance Method Summary collapse

Instance Method Details

#to_trix_content_attachment_partial_pathObject

‘to_partial_path` for the storefront render is by default “action_text/video_embeds/video_embed”



9
10
11
# File 'app/models/action_text/video_embed.rb', line 9

def to_trix_content_attachment_partial_path
  'action_text/video_embeds/thumbnail'
end