diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-03 13:28:36 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-03 13:28:36 +0100 |
commit | 0160d1d9b5195e5d8fcb94b29f74634b129439b4 (patch) | |
tree | 05c4978fea002d562daceb8a30305e3f701e9198 /app/views/accounts/show.html.haml | |
parent | aff22bfdb554207ae73b8946310f7328f645be70 (diff) |
Enable caching for some rabl views
Diffstat (limited to 'app/views/accounts/show.html.haml')
-rw-r--r-- | app/views/accounts/show.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/accounts/show.html.haml b/app/views/accounts/show.html.haml index 563b43849..b11a59513 100644 --- a/app/views/accounts/show.html.haml +++ b/app/views/accounts/show.html.haml @@ -12,6 +12,6 @@ = render partial: 'nothing_here' - else .activity-stream - = render partial: 'stream_entries/status', collection: @statuses, as: :status + = render partial: 'stream_entries/status', collection: @statuses, as: :status, cached: true = will_paginate @statuses, pagination_options |