blob: 53c13bbda1d4a885fa3919ce58db5cc02a146531 (
plain) (
blame)
1
2
3
4
5
6
7
|
object @media
attribute :id, :type
node(:url) { |media| full_asset_url(media.file.url(:original)) }
node(:preview_url) { |media| full_asset_url(media.file.url(:small)) }
node(:text_url) { |media| medium_url(media) }
node(:meta) { |media| media.file.meta }
|