Enable caching for some rabl views
This commit is contained in:
parent
aff22bfdb5
commit
0160d1d9b5
11 changed files with 38 additions and 32 deletions
3
app/views/api/v1/statuses/_mention.rabl
Normal file
3
app/views/api/v1/statuses/_mention.rabl
Normal file
|
@ -0,0 +1,3 @@
|
|||
node(:url) { |mention| TagManager.instance.url_for(mention.account) }
|
||||
node(:acct) { |mention| mention.account.acct }
|
||||
node(:id) { |mention| mention.account_id }
|
Reference in a new issue