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.
glitchier-soc/app/views/accounts/show.activitystreams2.rabl

9 lines
301 B

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