From d9e2f2d52eecd84b1801e0128cc3f67c34c068b9 Mon Sep 17 00:00:00 2001 From: cxt <853663049@qq.com> Date: Thu, 13 Jun 2019 11:20:56 +0800 Subject: [PATCH] tiaozn --- app/controllers/trainings_controller.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/controllers/trainings_controller.rb b/app/controllers/trainings_controller.rb index f99de3e9..647be129 100644 --- a/app/controllers/trainings_controller.rb +++ b/app/controllers/trainings_controller.rb @@ -37,7 +37,9 @@ class TrainingsController < ApplicationController def enroll @training = current_training || Training.new + Rails.logger.info("##########training_type:#{@training_type}") @training_title = @training_type == 3 ? "信息技术新工科产学研联盟师资培训班" : "工程教育认证" + Rails.logger.info("##########training_title:#{@training_title}") end