From 0160d1d9b5195e5d8fcb94b29f74634b129439b4 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Thu, 3 Nov 2016 13:28:36 +0100 Subject: Enable caching for some rabl views --- app/views/accounts/show.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views/accounts/show.html.haml') 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 -- cgit