about summary refs log tree commit diff
path: root/app/views/follower_accounts
diff options
context:
space:
mode:
authoralpaca-tc <alpaca-tc@alpaca.tc>2017-05-06 11:03:07 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-05-06 04:03:07 +0200
commitddc34feb5875fd247fc7331b7710406d6de4a143 (patch)
tree5a1b654b9974ac1a5549bed6faa7abe8d92c4dfc /app/views/follower_accounts
parent3f5b994ff0674fa8e0e5676ca22f0c347f9d7712 (diff)
Optimize follower_accounts and following_accounts (#2820)
Diffstat (limited to 'app/views/follower_accounts')
-rw-r--r--app/views/follower_accounts/index.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/follower_accounts/index.html.haml b/app/views/follower_accounts/index.html.haml
index ee62c79eb..89c7f3a29 100644
--- a/app/views/follower_accounts/index.html.haml
+++ b/app/views/follower_accounts/index.html.haml
@@ -6,4 +6,4 @@
 
 = render 'accounts/header', account: @account
 
-= render 'accounts/follow_grid', accounts: @accounts
+= render 'accounts/follow_grid', follows: @follows, accounts: @follows.map(&:account)