blob: 0b42e6e3d0f5fcdd5d6912b87ff996b6f6204f18 (
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) }
|