|
|
|
@ -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]
|
|
|
|
|