about summary refs log tree commit diff
path: root/app/views/following_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/following_accounts
parent3f5b994ff0674fa8e0e5676ca22f0c347f9d7712 (diff)
Optimize follower_accounts and following_accounts (#2820)
Diffstat (limited to 'app/views/following_accounts')
-rw-r--r--app/views/following_accounts/index.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/following_accounts/index.html.haml b/app/views/following_accounts/index.html.haml
index 68a0ef838..6f0de7590 100644
--- a/app/views/following_accounts/index.html.haml
+++ b/app/views/following_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(&:target_account)