about summary refs log tree commit diff
path: root/app/views/api/v1/statuses/_mention.rabl
diff options
context:
space:
mode:
authorhoodie <hoodiekitten@outlook.com>2017-02-04 17:33:46 -0500
committerhoodie <hoodiekitten@outlook.com>2017-02-04 17:33:46 -0500
commitd4d3a10c25ea3b74e1c9ff7312715c33718da3b0 (patch)
tree6b24aef6a684f233a26ae6ceec54fc244ff42064 /app/views/api/v1/statuses/_mention.rabl
parentccb8ac857330e1ad3aee37b340e5c6e242ac1dd6 (diff)
untested!! spoiler hotfix for replies
untested, my vagrant is bugged again, submitted at gargron's request
Diffstat (limited to 'app/views/api/v1/statuses/_mention.rabl')
-rw-r--r--app/views/api/v1/statuses/_mention.rabl7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/views/api/v1/statuses/_mention.rabl b/app/views/api/v1/statuses/_mention.rabl
index 07b3d1f61..498cca275 100644
--- a/app/views/api/v1/statuses/_mention.rabl
+++ b/app/views/api/v1/statuses/_mention.rabl
@@ -1,3 +1,4 @@
-node(:url)  { |mention| TagManager.instance.url_for(mention.account) }
-node(:acct) { |mention| mention.account.acct }
-node(:id)   { |mention| mention.account_id }
+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 }