Eugen Rochko
пре 5 година
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 измењених фајлова са
1 додато и
1 уклоњено
-
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 |
|
|
|