Преглед на файлове

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

master
Eugen Rochko преди 5 години
committed by GitHub
родител
ревизия
6b91da97bb
No known key found for this signature in database GPG ключ ID: 4AEE18F83AFDEB23
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. +1
    -1
      app/controllers/directories_controller.rb

+ 1
- 1
app/controllers/directories_controller.rb Целия файл

@@ -28,7 +28,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


Зареждане…
Отказ
Запис