Unverified Commit 6b91da97 authored by Eugen Rochko's avatar Eugen Rochko Committed by GitHub

Fix directory showing tags that have no currently eligible accounts (#9872)

parent 70405db6
......@@ -28,7 +28,7 @@ class DirectoriesController < ApplicationController
def set_tags
@tags = Tag.discoverable.limit(30)
@tags = Tag.discoverable.limit(30).reject { |tag| tag.cached_sample_accounts.empty? }
def set_accounts
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment