forgeplus/app/views/courses/_course.json.jbuilder

3 lines
97 B
Plaintext
Raw Normal View History

2020-03-09 00:40:16 +08:00
json.extract! course, :id, :created_at, :updated_at
json.url course_url(course, format: :json)