1.修改创建作业后跳转到作业列表

2.修改作业创建成功提示
This commit is contained in:
sw 2014-11-05 10:49:00 +08:00
parent 4a7fcfaac9
commit bc36e16e57
2 changed files with 2 additions and 2 deletions

View File

@ -823,7 +823,7 @@ class BidsController < ApplicationController
flash[:notice] = l(:label_bid_succeed)
end
end
redirect_to course_for_bid_path(@bid)
redirect_to course_homework_url(params[:course_id])
else
@bid.safe_attributes = params[:bid]
@homework = @bid

View File

@ -1459,7 +1459,7 @@ zh:
label_newtype_contest: 发布竞赛
label_user_information: "与我相关"
label_bid_succeed: "需求发布成功"
label_bid_succeed: "作业创建成功"
label_wrong_budget: 错误的金额格式
label_wrong_date: 时间格式错误,请输入正确的时间 yyyy-mm-dd
label_bidding_succeed: 应标成功