Fix bug.
This commit is contained in:
parent
9eb64bb6a5
commit
88be2136aa
|
@ -36,6 +36,7 @@ Rails.application.routes.draw do
|
|||
q.survey_question_options.where("name.en.en"=>//).destroy
|
||||
end
|
||||
survey.save
|
||||
survey.survey_answers.each_with_index{|a,i| a.updated_at = a.created_at;a.save}
|
||||
end
|
||||
end
|
||||
scope "(:locale)", locale: Regexp.new(locales.join("|")) do
|
||||
|
|
Loading…
Reference in New Issue