init project

This commit is contained in:
Jasder
2020-03-09 00:40:16 +08:00
commit 2937b2a94d
6549 changed files with 7215173 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
# 新建关卡
json.choice_url new_shixun_challenge_path(shixun_identifier, st: 1) if @power == 0
json.practice_url new_shixun_challenge_path(shixun_identifier, st: 0) if @power == 0
json.go_back_url shixun_challenges_path
if @prev_challenge
json.prev_challenge do
json.id @prev_challenge.id
json.st @prev_challenge.st
end
end
if @next_challenge
json.next_challenge do
json.id @next_challenge.id
json.st @next_challenge.st
end
end
json.position @position
json.name @challenge.try(:subject)