gearheads
/
mastodon
Archived
2
0
Fork 0
This repository has been archived on 2024-06-09. You can view files and clone it, but cannot push or open issues/pull-requests.
mastodon/app/views/api/v1/statuses/_mention.rabl

5 lines
230 B
Ruby

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 }