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