diff options
author | mayaeh <mayaeh@marimo-net.org> | 2019-09-17 17:06:43 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2019-09-17 10:06:43 +0200 |
commit | 0e5b9e3ba0ddc8061ad57f71924fdbfb981f42a0 (patch) | |
tree | d4ab6b620ed24cf8bb86e95342dc753c45ee4e6a /app/presenters | |
parent | 38dc51b2d68e3e03f429419f7318e868fa24c49d (diff) |
Fix the sample account icon of Profile directory to local only (#11872)
Diffstat (limited to 'app/presenters')
-rw-r--r-- | app/presenters/instance_presenter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/presenters/instance_presenter.rb b/app/presenters/instance_presenter.rb index f3a73209a..becc92c2d 100644 --- a/app/presenters/instance_presenter.rb +++ b/app/presenters/instance_presenter.rb @@ -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 |