删除问卷(未完)
This commit is contained in:
parent
4a0865ab76
commit
99f4483a16
|
@ -158,7 +158,7 @@ class ExerciseController < ApplicationController
|
|||
question.question_number -= 1
|
||||
question.save
|
||||
end
|
||||
if @poll_question && @poll_question.destroy
|
||||
if @exercise_question && @exercise_question.destroy
|
||||
respond_to do |format|
|
||||
format.js
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue