remove unuse variable and comment

This commit is contained in:
thomaschen 2013-10-21 17:40:06 +08:00 committed by Manson Wang
parent 5156701094
commit 63156c7a95
1 changed files with 0 additions and 6 deletions

View File

@ -102,12 +102,6 @@ class Panel::Survey::BackEnd::SurveysController < OrbitBackendController
end end
@start_row = 2 @start_row = 2
@header = @spreadsheet.row(1)
# (2..@spreadsheet.last_row).each do |i|
# parse each row here
# end
@survey.survey_answers.destroy @survey.survey_answers.destroy
@survey_questions.each_with_index do |question,index| @survey_questions.each_with_index do |question,index|
case question.type case question.type