activitypub-academy/app/views/api/v1/statuses/_mention.rabl

5 lines
230 B
Text
Raw Normal View History

node(:url) { |mention| TagManager.instance.url_for(mention.account) }
node(:acct) { |mention| mention.account.acct }
node(:id) { |mention| mention.account_id }
node(:username) { |mention| mention.account.username }