Source code for the custom Mastodon (Glitchsoc) instance on berserker.town.
https://berserker.town/
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.
9 lines
369 B
9 lines
369 B
object @account
|
|
|
|
attributes :id, :username, :acct, :display_name, :note
|
|
|
|
node(:url) { |account| url_for_target(account) }
|
|
node(:avatar) { |account| asset_url(account.avatar.url(:large, false)) }
|
|
node(:followers) { |account| account.followers.count }
|
|
node(:following) { |account| account.following.count }
|
|
node(:statuses) { |account| account.statuses.count }
|
|
|