You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
educoder/app/views/shixuns/index.json.jbuilder

10 lines
276 B

6 years ago
if @fuzzy_searchs
json.keyword @fuzzy_searchs
json.total_count @fuzzy_searchs.blank? ? nil : @total_count
end
json.pagination @total_count > 16 ? true : false
json.search_tags @search_tags
json.shixuns do
json.partial! 'shixun', locals: {shixuns: @shixuns}
end