From 75556c5e9f5b57e5c57f5c4372c8a1a9df879af4 Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Thu, 18 Apr 2019 11:02:37 +0800 Subject: [PATCH] 1 --- app/controllers/courses_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/courses_controller.rb b/app/controllers/courses_controller.rb index 6593ee19..ec4cbaaa 100644 --- a/app/controllers/courses_controller.rb +++ b/app/controllers/courses_controller.rb @@ -13,7 +13,7 @@ class CoursesController < ApplicationController include ApplicationHelper helper SyllabusesHelper - before_filter :local_exam, :except => [:show] + before_filter :local_exam, :except => [:show, :index] # before_filter :auth_login1, :only => [:show, :course_activity, :feedback] if Redmine::Configuration['gitlab_address'].include?("test") skip_before_filter :verify_authenticity_token, :only => [:update_course_module, :join_course_multi_role]