parent
80c44ed9c1
commit
24e692b0cf
@ -1,5 +1,5 @@ |
|||||||
object @media |
object @media |
||||||
attribute :id, :type |
attribute :id, :type |
||||||
node(:url) { |media| full_asset_url(media.file.expiring_url(3600, :original)) } |
node(:url) { |media| full_asset_url(media.file.expiring_url(s3_expiry, :original)) } |
||||||
node(:preview_url) { |media| full_asset_url(media.file.expiring_url(3600, :small)) } |
node(:preview_url) { |media| full_asset_url(media.file.expiring_url(s3_expiry, :small)) } |
||||||
node(:text_url) { |media| medium_url(media) } |
node(:text_url) { |media| medium_url(media) } |
||||||
|
@ -1,4 +1,4 @@ |
|||||||
attributes :id, :remote_url, :type |
attributes :id, :remote_url, :type |
||||||
|
|
||||||
node(:url) { |media| full_asset_url(media.file.expiring_url(3600, :original)) } |
node(:url) { |media| full_asset_url(media.file.expiring_url(s3_expiry, :original)) } |
||||||
node(:preview_url) { |media| full_asset_url(media.file.expiring_url(3600, :small)) } |
node(:preview_url) { |media| full_asset_url(media.file.expiring_url(s3_expiry, :small)) } |
||||||
|
Loading…
Reference in new issue