You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
educoder/app/views/shixuns/fork_list.json.jbuilder

18 lines
344 B

6 years ago
# '''
# [
# {
# name: '实训名称',
# score: 1.2, //实训打分
# challenges_count: 4,//关卡数
# exp: 100, //经验值
# level: '初级', //等级
# pic: '', //头像url
# }
# ]
# '''
json.total_count @shixuns_count
json.shixuns do
json.partial! 'shixun', locals: {shixuns: @shixuns}
end