|
|
@ -230,6 +230,7 @@ class GraduationTopicsController < ApplicationController
|
|
|
|
topic_repeat: topic.topic_repeat,
|
|
|
|
topic_repeat: topic.topic_repeat,
|
|
|
|
province: topic.province,
|
|
|
|
province: topic.province,
|
|
|
|
city: topic.city,
|
|
|
|
city: topic.city,
|
|
|
|
|
|
|
|
topic_type: topic.topic_type,
|
|
|
|
course_list_id: @course.course_list_id)
|
|
|
|
course_list_id: @course.course_list_id)
|
|
|
|
topic_bank.attachments.destroy_all
|
|
|
|
topic_bank.attachments.destroy_all
|
|
|
|
else
|
|
|
|
else
|
|
|
@ -241,6 +242,7 @@ class GraduationTopicsController < ApplicationController
|
|
|
|
topic_repeat: topic.topic_repeat,
|
|
|
|
topic_repeat: topic.topic_repeat,
|
|
|
|
province: topic.province,
|
|
|
|
province: topic.province,
|
|
|
|
city: topic.city,
|
|
|
|
city: topic.city,
|
|
|
|
|
|
|
|
topic_type: topic.topic_type,
|
|
|
|
course_list_id: @course.course_list_id,
|
|
|
|
course_list_id: @course.course_list_id,
|
|
|
|
user_id: current_user.id,
|
|
|
|
user_id: current_user.id,
|
|
|
|
graduation_topic_id: topic.id)
|
|
|
|
graduation_topic_id: topic.id)
|
|
|
|