diff options
Diffstat (limited to 'app/views/accounts')
-rw-r--r-- | app/views/accounts/followers.html.haml | 2 | ||||
-rw-r--r-- | app/views/accounts/following.html.haml | 2 | ||||
-rw-r--r-- | app/views/accounts/show.html.haml | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/app/views/accounts/followers.html.haml b/app/views/accounts/followers.html.haml index 5bd3d0809..7a6e270ac 100644 --- a/app/views/accounts/followers.html.haml +++ b/app/views/accounts/followers.html.haml @@ -8,6 +8,6 @@ - if @followers.empty? = render partial: 'nothing_here' - else - = render partial: 'grid_card', collection: @followers, as: :account + = render partial: 'grid_card', collection: @followers, as: :account, cached: true = will_paginate @followers, pagination_options diff --git a/app/views/accounts/following.html.haml b/app/views/accounts/following.html.haml index b20ee5318..95843f64d 100644 --- a/app/views/accounts/following.html.haml +++ b/app/views/accounts/following.html.haml @@ -9,6 +9,6 @@ - if @following.empty? = render partial: 'nothing_here' - else - = render partial: 'grid_card', collection: @following, as: :account + = render partial: 'grid_card', collection: @following, as: :account, cached: true = will_paginate @following, pagination_options 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 |