编译结果跨域存储

This commit is contained in:
sw 2015-07-17 15:53:28 +08:00
parent eae8e71561
commit 26843c311f
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@ class StudentWorkController < ApplicationController
before_filter :member_of_course, :only => [:index, :new, :create, :show, :add_score, :praise_student_work]
before_filter :author_of_work, :only => [:edit, :update, :destroy]
before_filter :teacher_of_course, :only => [:student_work_absence_penalty, :absence_penalty_list, :evaluation_list]
protect_from_forgery :except => :set_program_score
def index
@order,@b_sort,@name,@group = params[:order] || "score",params[:sort] || "desc",params[:name] || "",params[:group]