实训发送至课程

dev_forum
daiao 6 years ago
parent 5e60a01123
commit fa9448967b

@ -693,7 +693,7 @@ class ShixunsController < ApplicationController
# 将实训发送到课程
def send_to_course
@course = Course.find(params[:course_id])
homework = HomeworksService.new.create_homework shixun, @course, nil, current_user
homework = HomeworksService.new.create_homework @shixun, @course, nil, current_user
end
# 二维码扫描下载

Loading…
Cancel
Save