From 1519881efd8aea1f92af11d2b29d499183e6066e Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Thu, 13 Jun 2019 11:08:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E5=87=BA=E5=AE=9E=E8=AE=AD=E8=AF=BE?= =?UTF-8?q?=E7=A8=8B=E7=B3=BB=E7=BB=9F=E5=A2=9E=E5=8A=A0url?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/managements_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/managements_controller.rb b/app/controllers/managements_controller.rb index d5852fce..6ab4ed43 100644 --- a/app/controllers/managements_controller.rb +++ b/app/controllers/managements_controller.rb @@ -4305,10 +4305,10 @@ end levels = SubjectLevelSystem.includes(subjects: [stage_shixuns: :shixun]).where(nil) levels.each_with_index do |level, i| sheet1[count_row, 0] = i + 1 - sheet1[count_row, 1] = level.level + sheet1[count_row, 1] = level.name level.subjects.each do |subject| sheet1[count_row, 2] = subject.name - sheet1[count_row, 3] = "#{subject_path(subject)}" + sheet1[count_row, 3] = "#{Setting.protocol}://#{Setting.host_name}#{subject_path(subject)}" count_row += 1 subject.shixuns.each do |shixun| sheet1[count_row, 4] = shixun.name