forgeplus/app/views/users/courses/index.json.jbuilder

4 lines
97 B
Plaintext
Raw Permalink Normal View History

2020-03-09 00:40:16 +08:00
json.count @count
json.courses @courses, partial: 'users/courses/shared/course', as: :course