Replace User.count -> User.confirmed.count (#2127)

main
alpaca-tc 2017-04-19 21:58:27 +09:00 committed by Eugen
parent dca0ffa1a1
commit 5ce8a1811a
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ class InstancePresenter
end
def user_count
Rails.cache.fetch('user_count') { User.count }
Rails.cache.fetch('user_count') { User.confirmed.count }
end
def status_count