|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
class ShixunsController < ApplicationController
|
|
|
|
|
before_action :require_login, except: [:download_file, :index, :menus]
|
|
|
|
|
before_action :check_auth, except: [:download_file, :index]
|
|
|
|
|
before_action :check_auth, except: [:download_file, :index, :menus]
|
|
|
|
|
|
|
|
|
|
before_action :find_shixun, :shixun_access_allowed, except: [:index, :new, :create, :menus, :get_recommend_shixuns,
|
|
|
|
|
:propaedeutics, :departments, :apply_shixun_mirror,
|
|
|
|
|