From a4b1fe30456fb47fd265bc1a9cffc3760e97ef18 Mon Sep 17 00:00:00 2001 From: cxt <853663049@qq.com> Date: Wed, 25 Sep 2019 14:54:07 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/welcome_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/welcome_controller.rb b/app/controllers/welcome_controller.rb index d0dc51e0..df86c9b9 100644 --- a/app/controllers/welcome_controller.rb +++ b/app/controllers/welcome_controller.rb @@ -491,7 +491,7 @@ class WelcomeController < ApplicationController trainee: shixun.trainee, webssh: shixun.webssh, multi_webssh: shixun.multi_webssh, can_copy: shixun.can_copy, identifier: generate_identifier, shixun_id: shixun.id, use_scope: shixun.use_scope, visits: 1, evaluate_script: shixun.evaluate_script, - local_giturl: shixun.git_url) + local_giturl: shixun.repo_name) # 同步更新实践课程中对应的shixun_id LocalStageShixun.where(shixun_id: shixun.id).update_all(local_shixun_id: local_shixun.id)