Homework
sw 11 years ago
parent a5202e53a4
commit b8c9651079

@ -1007,6 +1007,7 @@ class BidsController < ApplicationController
# 启动匿评
def start_anonymous_comment
@bid = Bid.find(params[:id])
@course = @bid.courses.first
if(@bid.comment_status == 0)
homeworks = @bid.homeworks
if(homeworks && homeworks.size >= 2)

@ -1927,7 +1927,6 @@ module ApplicationHelper
end
def anonymous_comment_notice(bid, course)
link =
case bid.comment_status
when 0
@student_size ||= searchStudent(course).size

Loading…
Cancel
Save