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/games/game_build.json.jbuilder

6 lines
163 B

if @result[:status] == 1
json.(@result, :status, :resubmit, :position, :port, :had_done)
else
json.(@result, :status, :message, :position, :had_done)
end