dev_aliyun
cxt 6 years ago
parent 1ff06ccf6c
commit 962492f81d

@ -92,7 +92,7 @@ class WelcomeController < ApplicationController
new_stage_shixun = LocalStageShixun.new new_stage_shixun = LocalStageShixun.new
new_stage_shixun.attributes = stage_shixun.attributes.dup.except("id") new_stage_shixun.attributes = stage_shixun.attributes.dup.except("id")
new_stage_shixun.local_subject_id = local_subject.id new_stage_shixun.local_subject_id = local_subject.id
new_stage_shixun.local_subject_id = new_stage.id new_stage_shixun.local_stage_id = new_stage.id
new_stage_shixun.save! new_stage_shixun.save!
end end
end end

Loading…
Cancel
Save