创建作业后路由跳转错误问题
This commit is contained in:
parent
b876a7b063
commit
c3152b55de
|
@ -819,7 +819,7 @@ class BidsController < ApplicationController
|
|||
flash[:notice] = l(:label_bid_succeed)
|
||||
end
|
||||
end
|
||||
redirect_to respond_url(@bid)
|
||||
redirect_to course_for_bid_path(@bid)
|
||||
else
|
||||
@bid.safe_attributes = params[:bid]
|
||||
@homework = @bid
|
||||
|
|
Loading…
Reference in New Issue