about summary refs log tree commit diff
path: root/app/views/admin/accounts
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-03-31 14:02:07 +0200
committerEugen Rochko <eugen@zeonfederated.com>2017-03-31 14:02:07 +0200
commitbde5c0eaf9866386879d6b726296d7e3be1fc064 (patch)
tree54706b92b467428fcc332ab6c4ad33680373fef3 /app/views/admin/accounts
parent5e26295e061b653d0134caf0b54447a3683aecba (diff)
Fix some views still not using counter caches
Diffstat (limited to 'app/views/admin/accounts')
-rw-r--r--app/views/admin/accounts/show.html.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/admin/accounts/show.html.haml b/app/views/admin/accounts/show.html.haml
index b528e161e..ba1c3bae7 100644
--- a/app/views/admin/accounts/show.html.haml
+++ b/app/views/admin/accounts/show.html.haml
@@ -47,13 +47,13 @@
 
     %tr
       %th Follows
-      %td= @account.following.count
+      %td= @account.following_count
     %tr
       %th Followers
-      %td= @account.followers.count
+      %td= @account.followers_count
     %tr
       %th Statuses
-      %td= @account.statuses.count
+      %td= @account.statuses_count
     %tr
       %th Media attachments
       %td