You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

5 lines
218 B

  1. object @media
  2. attribute :id, :type
  3. node(:url) { |media| full_asset_url(media.file.url( :original)) }
  4. node(:preview_url) { |media| full_asset_url(media.file.url( :small)) }
  5. node(:text_url) { |media| medium_url(media) }