From 141865a3090a413ac929ead220322cbf007464ee Mon Sep 17 00:00:00 2001 From: cxt <853663049@qq.com> Date: Tue, 3 Mar 2020 18:25:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E8=AE=AD=E3=80=81=E5=AE=9E=E8=B7=B5?= =?UTF-8?q?=E8=AF=BE=E7=A8=8B=E5=8F=91=E9=80=81=E8=87=B3=E8=AF=BE=E5=A0=82?= =?UTF-8?q?=E7=9A=84=E8=B7=B3=E8=BD=AC=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/shixuns/send_to_course.json.jbuilder | 2 +- app/views/subjects/send_to_course.json.jbuilder | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/shixuns/send_to_course.json.jbuilder b/app/views/shixuns/send_to_course.json.jbuilder index 13b221d75..3331880c2 100644 --- a/app/views/shixuns/send_to_course.json.jbuilder +++ b/app/views/shixuns/send_to_course.json.jbuilder @@ -1,4 +1,4 @@ json.status 1 json.message "发送成功" json.course_id @course.id -json.first_category_url module_url(@course.none_hidden_course_modules.first, @course) \ No newline at end of file +json.first_category_url module_url(@course.shixun_course_modules.first, @course) \ No newline at end of file diff --git a/app/views/subjects/send_to_course.json.jbuilder b/app/views/subjects/send_to_course.json.jbuilder index defe309a2..e2ac515a6 100644 --- a/app/views/subjects/send_to_course.json.jbuilder +++ b/app/views/subjects/send_to_course.json.jbuilder @@ -1,3 +1,3 @@ json.status 1 json.message "发送成功" -json.url module_url(@course.none_hidden_course_modules.first, @course) \ No newline at end of file +json.url module_url(@course.shixun_course_modules.first, @course) \ No newline at end of file