Fix bug.
This commit is contained in:
parent
7178192060
commit
c344d04a97
|
@ -14,7 +14,7 @@ Rails.application.routes.draw do
|
||||||
info.delete(:survey_answer_ids)
|
info.delete(:survey_answer_ids)
|
||||||
answer_group = SurveyAnswerGroup.new(info)
|
answer_group = SurveyAnswerGroup.new(info)
|
||||||
end
|
end
|
||||||
answer_group.last_modified = survey_answer.updated_at
|
answer_group.last_modified = survey_answer.created_at
|
||||||
answer_group.survey_answer_ids = [survey_answer.id]
|
answer_group.survey_answer_ids = [survey_answer.id]
|
||||||
answer_group.save
|
answer_group.save
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue