修改作业后,作业创建者会变为当前修改人

This commit is contained in:
sw 2015-06-30 15:32:10 +08:00
parent c2e21f7a0c
commit d7d87c6999
1 changed files with 0 additions and 1 deletions

View File

@ -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
#匿评作业相关属性