show.rabl 629 B

123456789101112
  1. object @account
  2. attributes :id, :username, :acct, :display_name, :locked, :created_at
  3. node(:note) { |account| Formatter.instance.simplified_format(account) }
  4. node(:url) { |account| TagManager.instance.url_for(account) }
  5. node(:avatar) { |account| full_asset_url(account.avatar_original_url) }
  6. node(:avatar_static) { |account| full_asset_url(account.avatar_static_url) }
  7. node(:header) { |account| full_asset_url(account.header_original_url) }
  8. node(:header_static) { |account| full_asset_url(account.header_static_url) }
  9. attributes :followers_count, :following_count, :statuses_count