parent
9f4b033a8b
commit
f6b99b05d3
@ -1,5 +1,5 @@
|
||||
object @media
|
||||
attribute :id, :type
|
||||
node(:url) { |media| full_asset_url(media.file.expiring_url(s3_expiry, :original)) }
|
||||
node(:preview_url) { |media| full_asset_url(media.file.expiring_url(s3_expiry, :small)) }
|
||||
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) }
|
||||
|
@ -1,4 +1,4 @@
|
||||
attributes :id, :remote_url, :type
|
||||
|
||||
node(:url) { |media| full_asset_url(media.file.expiring_url(s3_expiry, :original)) }
|
||||
node(:preview_url) { |media| full_asset_url(media.file.expiring_url(s3_expiry, :small)) }
|
||||
node(:url) { |media| full_asset_url(media.file.url( :original)) }
|
||||
node(:preview_url) { |media| full_asset_url(media.file.url( :small)) }
|
||||
|
Loading…
Reference in new issue