diff --git a/app/controllers/ec_courses_controller.rb b/app/controllers/ec_courses_controller.rb index 5eb29b73..3634ca28 100644 --- a/app/controllers/ec_courses_controller.rb +++ b/app/controllers/ec_courses_controller.rb @@ -77,7 +77,8 @@ class EcCoursesController < ApplicationController end calculation_data << {first_level: first_level, first_leval_data: first_leval_data} end - render :json => {calculation_data: calculation_data, calculation_value: @year.calculation_value, course_ids: course_ids.uniq} + render :json => {calculation_data: calculation_data, calculation_value: @year.calculation_value, course_ids: course_ids.uniq, + is_manager: @template_major} end # 课程目标配置