Fix the sample account icon of Profile directory to local only (#11872)

This commit is contained in:
mayaeh 2019-09-17 17:06:43 +09:00 committed by Eugen Rochko
parent 38dc51b2d6
commit 0e5b9e3ba0
2 changed files with 2 additions and 2 deletions

View file

@ -33,7 +33,7 @@ class InstancePresenter
end
def sample_accounts
Rails.cache.fetch('sample_accounts', expires_in: 12.hours) { Account.discoverable.popular.limit(3) }
Rails.cache.fetch('sample_accounts', expires_in: 12.hours) { Account.local.discoverable.popular.limit(3) }
end
def version_number