主管题插入删除更新

This commit is contained in:
huang 2015-11-19 17:31:26 +08:00
parent 27c88fda4f
commit 7ab0f4764a
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ class ExerciseController < ApplicationController
question_standart.save question_standart.save
else else
standart_answer_option = { standart_answer_option = {
:answer_text => question_standart :answer_text => answer_standart
} }
@exercise_question.exercise_standard_answers.new standart_answer_option @exercise_question.exercise_standard_answers.new standart_answer_option
end end