mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-14 19:05:27 +00: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 }
|