dev_cxt
cxt 5 years ago
parent 81fdc31f8b
commit 48e85cb078

@ -40,7 +40,9 @@ json.exam do
json.all_questions_count @items.size
json.discipline do
json.(@exam.sub_discipline&.discipline, :id, :name)
if @exam.sub_discipline&.discipline.present?
json.(@exam.sub_discipline&.discipline, :id, :name)
end
end
json.sub_discipline do
json.(@exam.sub_discipline, :id, :name)

Loading…
Cancel
Save