|
|
|
@ -3,7 +3,7 @@
|
|
|
|
|
class ShixunsController < ApplicationController
|
|
|
|
|
layout 'base_shixun'
|
|
|
|
|
before_filter :require_login, :except => [:ghook, :download_file, :show, :index]
|
|
|
|
|
before_filter :check_authentication, :except => [:ghook, :download_file, :show, :index]
|
|
|
|
|
before_filter :check_authentication, :except => [:ghook, :download_file, :show, :index, :operation]
|
|
|
|
|
before_filter :find_shixun, :except => [ :index, :new, :create, :index, :search, :shixun_courses, :new_disscuss, :shixun_migrate, :qrcode, :download_file, :departments, :get_mirror_script, :send_message_to_administrator]
|
|
|
|
|
|
|
|
|
|
skip_before_filter :verify_authenticity_token, :only => [:ghook, :download_file]
|
|
|
|
|