From 71d2c18442ce2d96066174c1405dcd5b48d48cfb Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Mon, 18 Sep 2017 14:21:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AE=9E=E8=AE=AD=E6=8A=80?= =?UTF-8?q?=E6=9C=AF=E5=B9=B3=E5=8F=B0=E5=90=8E=EF=BC=8C=E9=9C=80=E8=A6=81?= =?UTF-8?q?=E9=87=8D=E6=96=B0=E7=94=9F=E6=88=90TPM=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/shixuns_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/shixuns_controller.rb b/app/controllers/shixuns_controller.rb index 48edf6bf8..7c13f9c13 100644 --- a/app/controllers/shixuns_controller.rb +++ b/app/controllers/shixuns_controller.rb @@ -580,7 +580,7 @@ class ShixunsController < ApplicationController begin @shixun.save! if language != params[:language] - shixun_modify_status_without_publish(@shixun, 1) + add_shixun_modify_status(@shixun, 1) end rescue @error = "实训保存失败"