闭社主体 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
168 B

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