about summary refs log tree commit diff
path: root/app/views
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-09-18 18:18:46 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-09-18 18:18:46 +0200
commit0967961de758b375ca61df1ba9b448aaa2e3c1f8 (patch)
tree5935732cf384f05b35d30c16814b481d9012661b /app/views
parentdafcb021534d2a19ff5d4c1f9bedafb52a2ce77f (diff)
Improve how account detailed view looks, load account's statuses
Diffstat (limited to 'app/views')
-rw-r--r--app/views/api/accounts/show.rabl1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/api/accounts/show.rabl b/app/views/api/accounts/show.rabl
index d779393d1..5af295c54 100644
--- a/app/views/api/accounts/show.rabl
+++ b/app/views/api/accounts/show.rabl
@@ -4,6 +4,7 @@ attributes :id, :username, :acct, :display_name, :note
 
 node(:url)             { |account| TagManager.instance.url_for(account) }
 node(:avatar)          { |account| full_asset_url(account.avatar.url(:large, false)) }
+node(:header)          { |account| full_asset_url(account.header.url(:medium, false)) }
 node(:followers_count) { |account| account.followers.count }
 node(:following_count) { |account| account.following.count }
 node(:statuses_count)  { |account| account.statuses.count  }