mirror of
https://github.com/funamitech/mastodon
synced 2024-12-22 10:38:30 +09:00
6 lines
139 B
Ruby
6 lines
139 B
Ruby
object @card
|
|
|
|
attributes :url, :title, :description
|
|
|
|
node(:image) { |card| card.image? ? full_asset_url(card.image.url(:original)) : nil }
|