dev_SaaS
cxt 6 years ago
parent 1fb0c4771a
commit a9c5b791b5

@ -415,6 +415,8 @@ class EcCoursesController < ApplicationController
def score_level def score_level
respond_to do |format| respond_to do |format|
format.html{ format.html{
Rails.logger.info("1111111111111111111template_major: #{@template_major}")
Rails.logger.info("1111111111111111111is_manager: #{@is_manager}")
render "/common/index", :layout => false render "/common/index", :layout => false
} }
format.json{ format.json{
@ -430,8 +432,8 @@ class EcCoursesController < ApplicationController
{score: 70, level: ""}, {score: 70, level: ""},
{score: 60, level: ""}] {score: 60, level: ""}]
end end
Rails.logger.info("template_major: #{@template_major}") Rails.logger.info("222222222222222222222template_major: #{@template_major}")
Rails.logger.info("is_manager: #{@is_manager}") Rails.logger.info("2222222222222222222222222is_manager: #{@is_manager}")
render :json => {levels: ls, is_manager: @is_manager} render :json => {levels: ls, is_manager: @is_manager}
} }
end end

Loading…
Cancel
Save