소스 검색

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


불러오는 중...
취소
저장