From 52f6c8f8ae9df1185a1f91aac3d897a6f879d2f4 Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Sat, 29 Feb 2020 23:40:32 +0800 Subject: [PATCH] 1 --- app/views/subjects/index.json.jbuilder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/subjects/index.json.jbuilder b/app/views/subjects/index.json.jbuilder index 77362e7b4..6c5434850 100644 --- a/app/views/subjects/index.json.jbuilder +++ b/app/views/subjects/index.json.jbuilder @@ -2,4 +2,4 @@ json.subjects do json.partial! 'subject', locals: {subjects: @subjects} end -json.total_count @total_count +json.total_count @subject_count