未登录或者未注册允许访问实训首页

dev_forum
jingquan huang 5 years ago
parent af59295d6c
commit 0061eff0f2

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

Loading…
Cancel
Save