diff --git a/app/controllers/ec_course_supports_controller.rb b/app/controllers/ec_course_supports_controller.rb index d81782a8..337c183a 100644 --- a/app/controllers/ec_course_supports_controller.rb +++ b/app/controllers/ec_course_supports_controller.rb @@ -60,7 +60,12 @@ class EcCourseSupportsController < ApplicationController course_data << { name: name, top_relation: cs.top_relation, weigths: cs.weigths} end gs.ec_course_supports.count > max_support_count && max_support_count = gs.ec_course_supports.count - course_support_data << {sequence_num: sequence_num, ec_graduation_subitem_id: gs.id, course_data: course_data, num_total: gs.ec_course_supports.count, weights_total: weigths_sum} + course_support_data << {sequence_num: sequence_num, + sequence_title: gs.content, + ec_graduation_subitem_id: gs.id, + course_data: course_data, + num_total: gs.ec_course_supports.count, + weights_total: weigths_sum} end end render :json => {ec_year_id: @year.id,