diff options
Diffstat (limited to 'app/views/accounts/followers.html.haml')
-rw-r--r-- | app/views/accounts/followers.html.haml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app/views/accounts/followers.html.haml b/app/views/accounts/followers.html.haml index 75e464957..5bd3d0809 100644 --- a/app/views/accounts/followers.html.haml +++ b/app/views/accounts/followers.html.haml @@ -5,10 +5,9 @@ = render partial: 'header' .accounts-grid - - @followers.each do |f| - = render partial: 'grid_card', locals: { account: f } - - if @followers.empty? = render partial: 'nothing_here' + - else + = render partial: 'grid_card', collection: @followers, as: :account = will_paginate @followers, pagination_options |