创建作业后路由跳转错误问题

This commit is contained in:
z9hang 2014-11-04 09:30:17 +08:00
parent b876a7b063
commit c3152b55de
1 changed files with 1 additions and 1 deletions

View File

@ -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