From 43f6b0f603eab2aa868f548fb9b8302cede7ff17 Mon Sep 17 00:00:00 2001 From: jingquan huang Date: Sun, 11 Aug 2019 18:55:23 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=BE=E5=A0=82=E5=A4=8D=E5=88=B6=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/services/duplicate_course_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/duplicate_course_service.rb b/app/services/duplicate_course_service.rb index c9e991d7f..9d61984db 100644 --- a/app/services/duplicate_course_service.rb +++ b/app/services/duplicate_course_service.rb @@ -130,7 +130,7 @@ class DuplicateCourseService < ApplicationService def copy_attachments! origin_course.attachments.each do |origin_attachment| attachment = origin_attachment.copy - attachment.tag_list.add(origin_attachment.tag_list) # tag关联 + # attachment.tag_list.add(origin_attachment.tag_list) # tag关联 attachment.container = course attachment.created_on = Time.now attachment.publish_time = nil