修复作业的创建者会随着更新变动
This commit is contained in:
parent
f934824175
commit
634f707425
|
@ -868,7 +868,7 @@ class BidsController < ApplicationController
|
|||
@bid.reward_type = 3
|
||||
@bid.deadline = params[:bid][:deadline]
|
||||
@bid.budget = 0
|
||||
@bid.author_id = User.current.id
|
||||
#@bid.author_id = User.current.id
|
||||
@bid.commit = 0
|
||||
@bid.homework_type = 1
|
||||
@bid.save_attachments(params[:attachments] || (params[:bid] && params[:bid][:uploads]))
|
||||
|
|
Loading…
Reference in New Issue