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/hack_user_lastest_codes/show.json.jbuilder

12 lines
313 B

json.hack do
json.(@hack, :difficult, :time_limit, :description, :score, :identifier)
json.language @hack.language
json.username @hack.user.real_name
json.code @my_hack.code
json.pass_count @hack.pass_num
json.submit_count @hack.submit_num
end
json.test_case do
json.input @hack.input_test_case
end