diff options
author | ThibG <thib@sitedethib.com> | 2019-01-21 11:35:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-21 11:35:31 +0100 |
commit | 6f53c4fc79ea7abd40b7fc224cecd8be63135b08 (patch) | |
tree | ea80051d20a9c5c22aed08fcbf64a67d31602a0f /app/controllers | |
parent | aa362ab73dc7121104b3c01800152b9fc56ea396 (diff) | |
parent | 9dfbcf941ef9ec0428fb34065e020308760afa8f (diff) |
Merge pull request #889 from ThibG/glitch-soc/merge-upstream
Merge upstream changes (v2.7.0)
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/directories_controller.rb | 2 |
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 |