1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-11 21:28:23 +09:00
mastodon/app/views/api/v1/statuses/_mention.rabl
hoodie d4d3a10c25 untested!! spoiler hotfix for replies
untested, my vagrant is bugged again, submitted at gargron's request
2017-02-04 17:33:46 -05:00

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 }