about summary refs log tree commit diff
path: root/app/views/api/accounts/relationships.rabl
blob: dc1c1bc65d27798fc4e3144c0598a7aa9b711c23 (plain) (blame)
1
2
3
4
5
collection @accounts
attribute :id
node(:following)   { |account| @following[account.id]   || false }
node(:followed_by) { |account| @followed_by[account.id] || false }
node(:blocking)    { |account| @blocking[account.id]    || false }