Explorar el Código

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

master
Eugen Rochko hace 5 años
committed by GitHub
padre
commit
6b91da97bb
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: 4AEE18F83AFDEB23
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      app/controllers/directories_controller.rb

+ 1
- 1
app/controllers/directories_controller.rb Ver fichero

@@ -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


Cargando…
Cancelar
Guardar