修改作业后,作业创建者会变为当前修改人
This commit is contained in:
parent
c2e21f7a0c
commit
d7d87c6999
|
@ -92,7 +92,6 @@ class HomeworkCommonController < ApplicationController
|
|||
@homework.publish_time = params[:homework_common][:publish_time]
|
||||
@homework.homework_type = params[:homework_common][:homework_type]
|
||||
@homework.late_penalty = params[:late_penalty]
|
||||
@homework.user_id = User.current.id
|
||||
@homework.course_id = @course.id
|
||||
|
||||
#匿评作业相关属性
|
||||
|
|
Loading…
Reference in New Issue