about summary refs log tree commit diff
path: root/app/views
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-02-05 01:29:00 +0100
committerEugen Rochko <eugen@zeonfederated.com>2017-02-05 01:29:00 +0100
commitce273c08cda20cf0bd8adea18d06b3cd0395d7d5 (patch)
treebf24378a9c96310c24de266d3c86a6cd300f71f5 /app/views
parentccb8ac857330e1ad3aee37b340e5c6e242ac1dd6 (diff)
parenta012e4c7ffb7fa4d474530554c6ab5a088135d77 (diff)
Merge branch 'hoodiek-master'
Diffstat (limited to 'app/views')
-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 }