diff --git a/app/views/courses/questions.json.jbuilder b/app/views/courses/questions.json.jbuilder index b1d4a2de66..56efbedf11 100644 --- a/app/views/courses/questions.json.jbuilder +++ b/app/views/courses/questions.json.jbuilder @@ -1 +1,11 @@ -json.array! @questions +json.unanswered do + json.array! @unanswered, partial: 'annotations/annotation', as: :annotation +end + +json.in_progress do + json.array! @in_progress, partial: 'annotations/annotation', as: :annotation +end + +json.answered do + json.array! @answered, partial: 'annotations/annotation', as: :annotation +end