10 lines
216 B
10 lines
216 B
6 years ago
|
json.shixun_id @shixun.id
|
||
|
json.shixun_name @shixun.name
|
||
|
|
||
|
json.challenges do
|
||
|
json.array! @shixun_challenges do |s|
|
||
|
json.challenge_name s.subject
|
||
|
end
|
||
|
end
|
||
|
|
||
|
json.challenge_counts @shixun_challenges_count
|