|
|
@ -354,6 +354,7 @@ class ExercisesController < ApplicationController
|
|
|
|
# question_bank = QuestionBank.new ques_params
|
|
|
|
# question_bank = QuestionBank.new ques_params
|
|
|
|
# question_bank.save
|
|
|
|
# question_bank.save
|
|
|
|
# end
|
|
|
|
# end
|
|
|
|
|
|
|
|
exercise.update_attributes!(exercise_bank_id: current_ex_bank.id)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
# 试卷的问题的输入
|
|
|
|
# 试卷的问题的输入
|
|
|
|
exercise.exercise_questions.each do |q|
|
|
|
|
exercise.exercise_questions.each do |q|
|
|
|
|