Eugen Rochko
há 5 anos
committed by
GitHub
ascendente
cometimento
81f96c973a
Não foi encontrada uma chave conhecida para esta assinatura, na base de dados
ID da chave GPG: 4AEE18F83AFDEB23
1 ficheiros alterados com
1 adições e
1 eliminações
-
app/presenters/instance_presenter.rb
|
|
@@ -18,7 +18,7 @@ class InstancePresenter |
|
|
|
end |
|
|
|
|
|
|
|
def user_count |
|
|
|
Rails.cache.fetch('user_count') { User.confirmed.count } |
|
|
|
Rails.cache.fetch('user_count') { User.confirmed.joins(:account).merge(Account.without_suspended).count } |
|
|
|
end |
|
|
|
|
|
|
|
def status_count |
|
|
|