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.

8 lines
301 B

7 years ago
  1. extends 'activitypub/types/person.activitystreams2.rabl'
  2. object @account
  3. attributes display_name: :name, username: :preferredUsername, note: :summary
  4. node(:icon) { |account| full_asset_url(account.avatar.url(:original)) }
  5. node(:image) { |account| full_asset_url(account.header.url(:original)) }