编辑分组作业的作品报500

This commit is contained in:
cxt 2015-12-11 16:36:19 +08:00
parent ac77f0d40a
commit 6c9a139450
1 changed files with 0 additions and 1 deletions

View File

@ -299,7 +299,6 @@ class StudentWorkController < ApplicationController
@submit_result = true
@work.name = params[:student_work][:name]
@work.description = params[:student_work][:description]
@work.project_id = params[:student_work][:project]
@work.save_attachments(params[:attachments])
render_attachment_warning_if_needed(@work)
if @work.save