|
|
@ -271,6 +271,7 @@ class QuestionBanksController < ApplicationController
|
|
|
|
new_topic.course_id = course.id
|
|
|
|
new_topic.course_id = course.id
|
|
|
|
new_topic.gtopic_bank_id = topic.id
|
|
|
|
new_topic.gtopic_bank_id = topic.id
|
|
|
|
new_topic.user_id = current_user.id
|
|
|
|
new_topic.user_id = current_user.id
|
|
|
|
|
|
|
|
new_topic.tea_id = current_user.id
|
|
|
|
new_topic.save
|
|
|
|
new_topic.save
|
|
|
|
|
|
|
|
|
|
|
|
topic.attachments.each.try(:each) do |attachment|
|
|
|
|
topic.attachments.each.try(:each) do |attachment|
|
|
|
|