diff --git a/app/controllers/welcome_controller.rb b/app/controllers/welcome_controller.rb index e5a168f6..d0dc51e0 100644 --- a/app/controllers/welcome_controller.rb +++ b/app/controllers/welcome_controller.rb @@ -92,7 +92,7 @@ class WelcomeController < ApplicationController new_stage_shixun = LocalStageShixun.new 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 = new_stage.id + new_stage_shixun.local_stage_id = new_stage.id new_stage_shixun.save! end end