diff --git a/app/services/create_diff_record_service.rb b/app/services/create_diff_record_service.rb index 8365404e2..de56fbe97 100644 --- a/app/services/create_diff_record_service.rb +++ b/app/services/create_diff_record_service.rb @@ -38,8 +38,10 @@ class CreateDiffRecordService < ApplicationService end content += arr.join('') if arr.present? + Rails.logger.info("diff_line_arr:#{arr.join('')}") content += line arr.clear + Rails.logger.info("diff_line:#{line}") end content end diff --git a/app/views/stages/_stage.json.jbuilder b/app/views/stages/_stage.json.jbuilder index e5d2be82d..75d3a2d6c 100644 --- a/app/views/stages/_stage.json.jbuilder +++ b/app/views/stages/_stage.json.jbuilder @@ -15,6 +15,7 @@ json.shixuns_list do json.shixun_name shixun.name json.shixun_hidden shixun.hidden json.identifier shixun.identifier + json.challenges_count shixun.challenges_count json.complete_status stage_myshixun_status(myshixuns.select{|ms| ms.shixun_id == shixun.id}.first) json.shixun_status stage_shixun_status(subject.status, shixun.status, shixun.hidden) end diff --git a/public/images/educoder/path-detail.jpg b/public/images/educoder/path-detail.jpg index cea866a72..5d0032723 100644 Binary files a/public/images/educoder/path-detail.jpg and b/public/images/educoder/path-detail.jpg differ