删除问卷(未完)

This commit is contained in:
huang 2015-11-17 18:34:01 +08:00
parent 4a0865ab76
commit 99f4483a16
1 changed files with 1 additions and 1 deletions

View File

@ -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