测试搜索结果分页的问题

This commit is contained in:
sylor_huang@126.com
2020-04-22 11:03:00 +08:00
parent 6b3794b57b
commit c73f501558
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
json.total_count @total_count
json.projects do
json.array! @projects do |project|
Rails.logger.info("########__________@projects________############{@projects}")
json.array! @projects.each do |project|
json.partial! 'project', project: project
json.author do
json.name project&.owner&.login