This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
2016-11-03 05:28:36 -07:00
|
|
|
attributes :id, :remote_url, :type
|
|
|
|
|
2017-04-17 10:58:54 -07:00
|
|
|
node(:url) { |media| full_asset_url(media.file.url(:original)) }
|
|
|
|
node(:preview_url) { |media| full_asset_url(media.file.url(:small)) }
|
2017-02-05 06:25:55 -08:00
|
|
|
node(:text_url) { |media| media.local? ? medium_url(media) : nil }
|