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