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