forgeplus/app/views/challenges/update.json.jbuilder

3 lines
79 B
Ruby

json.status 1
json.messages "更新成功!"
json.challenge_id @challenge.id