about summary refs log tree commit diff
path: root/app/controllers
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-01-20 16:49:23 +0100
committerThibaut Girka <thib@sitedethib.com>2019-01-20 16:49:23 +0100
commit9dfbcf941ef9ec0428fb34065e020308760afa8f (patch)
treeea80051d20a9c5c22aed08fcbf64a67d31602a0f /app/controllers
parentaa362ab73dc7121104b3c01800152b9fc56ea396 (diff)
parent31e7940de553007ea2e863cb9a418ad46837431e (diff)
Merge branch 'master' into glitch-soc/merge-upstream
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/directories_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/directories_controller.rb b/app/controllers/directories_controller.rb
index 4f0f1380c..70013d760 100644
--- a/app/controllers/directories_controller.rb
+++ b/app/controllers/directories_controller.rb
@@ -33,7 +33,7 @@ class DirectoriesController < ApplicationController
   end
 
   def set_tags
-    @tags = Tag.discoverable.limit(30)
+    @tags = Tag.discoverable.limit(30).reject { |tag| tag.cached_sample_accounts.empty? }
   end
 
   def set_accounts