forgeplus/app/views/weapps/courses/edit.json.jbuilder

2 lines
94 B
Plaintext
Raw Normal View History

2020-03-09 00:40:16 +08:00
json.(@course, :id, :name, :credit, :end_date)
json.course_list_name @course.course_list&.name