|
|
@ -37,7 +37,9 @@ class TrainingsController < ApplicationController
|
|
|
|
|
|
|
|
|
|
|
|
def enroll
|
|
|
|
def enroll
|
|
|
|
@training = current_training || Training.new
|
|
|
|
@training = current_training || Training.new
|
|
|
|
|
|
|
|
Rails.logger.info("##########training_type:#{@training_type}")
|
|
|
|
@training_title = @training_type == 3 ? "信息技术新工科产学研联盟师资培训班" : "工程教育认证"
|
|
|
|
@training_title = @training_type == 3 ? "信息技术新工科产学研联盟师资培训班" : "工程教育认证"
|
|
|
|
|
|
|
|
Rails.logger.info("##########training_title:#{@training_title}")
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|