app/views/educode_sales/teachers/index.json.jbuilder in educode_sales-0.1.1 vs app/views/educode_sales/teachers/index.json.jbuilder in educode_sales-0.1.2

- old
+ new

@@ -15,9 +15,10 @@ json.attitude EducodeSales::Common.key_attitude_name[d.attitude_id] json.courses_count d.user_id ? Course.joins(:course_members).where(course_members: {user_id: d.user_id}).count : 0 json.actives d.actives json.students d.students json.regist_at d.regist_at ? d.regist_at.to_s(:date) : '' + json.teacher_used d.teacher_used_of_department end end json.code 0 json.msg 'succcess' \ No newline at end of file