新建万卷初始showresult

This commit is contained in:
huang 2015-11-20 13:04:51 +08:00
parent 469e71e77d
commit 302dfaf933
1 changed files with 2 additions and 1 deletions

View File

@ -59,7 +59,8 @@ class ExerciseController < ApplicationController
:end_time => "", :end_time => "",
:publish_time => "", :publish_time => "",
:exercise_description => "", :exercise_description => "",
:show_result => "" :show_result => "",
:show_result => 1
} }
@exercise = Exercise.create option @exercise = Exercise.create option
if @exercise if @exercise