Merge branch 'dev_trainings' into develop

dev_trainings
p31729568 6 years ago
commit 485f2c51eb

@ -38,6 +38,12 @@ class TrainingsController < ApplicationController
def enroll
@training = current_training || Training.new
if @training && @training.pay?
redirect_to result_training_path(id: @tag_id)
return
end
Rails.logger.info("##########training_type:#{@training_type}")
@training_title = @training_type == 3 ? "信息技术新工科产学研联盟师资培训班" : "工程教育认证"
Rails.logger.info("##########training_title:#{@training_title}")

Loading…
Cancel
Save