|
|
|
@ -8,6 +8,7 @@ class HomeworkCommonController < ApplicationController
|
|
|
|
|
include StudentWorkHelper
|
|
|
|
|
include ApplicationHelper
|
|
|
|
|
# before_filter :check_authentication, :except => []
|
|
|
|
|
before_filter :local_exam
|
|
|
|
|
before_filter :find_course, :only => [:index,:new,:create, :shixuns, :create_shixun_homework, :publish_shixun_homework]
|
|
|
|
|
before_filter :find_homework, :only => [:edit,:update,:alert_anonymous_comment,:start_anonymous_comment,:stop_anonymous_comment,:destroy,:start_evaluation_set,
|
|
|
|
|
:set_evaluation_attr,:score_rule_set,:alert_forbidden_anonymous_comment,:alert_open_student_works,:open_student_works,
|
|
|
|
|