闭社主体 forked from https://github.com/tootsuite/mastodon
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.

4 lines
179 B

  1. attributes :id, :remote_url, :type
  2. node(:url) { |media| full_asset_url(media.file.url(:original)) }
  3. node(:preview_url) { |media| full_asset_url(media.file.url(:small)) }