blob: 916217cbdebc2fbe97864470611f168079f35887 (
plain) (
blame)
1
2
3
4
5
|
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) }
|