|
|
|
@ -16,10 +16,10 @@ if @challenges.present?
|
|
|
|
|
json.st challenge.st
|
|
|
|
|
json.name challenge.subject
|
|
|
|
|
json.score challenge.score
|
|
|
|
|
#json.passed_count @pass_games_map.fetch(challenge.id, 0)
|
|
|
|
|
json.passed_count challenge.user_passed_count
|
|
|
|
|
#json.playing_count @play_games_map.fetch(challenge.id, 0)
|
|
|
|
|
json.playing_count challenge.playing_count
|
|
|
|
|
json.passed_count @pass_games_map.fetch(challenge.id, 0)
|
|
|
|
|
#json.passed_count challenge.user_passed_count
|
|
|
|
|
json.playing_count @play_games_map.fetch(challenge.id, 0)
|
|
|
|
|
#json.playing_count challenge.playing_count
|
|
|
|
|
json.name_url shixun_challenge_path(challenge, shixun_identifier: @shixun.identifier)
|
|
|
|
|
json.open_game challenge.open_game
|
|
|
|
|
if @editable
|
|
|
|
|