|
|
|
@ -2,7 +2,8 @@ class ShixunsController < ApplicationController
|
|
|
|
|
include ShixunsHelper
|
|
|
|
|
include ApplicationHelper
|
|
|
|
|
|
|
|
|
|
before_action :require_login, :check_auth, except: [:download_file, :index, :menus, :show, :show_right]
|
|
|
|
|
before_action :require_login, :check_auth, except: [:download_file, :index, :menus, :show, :show_right, :ranking_list,
|
|
|
|
|
:discusses, :collaborators, :fork_list, :propaedeutics]
|
|
|
|
|
before_action :check_account, only: [:new, :create, :shixun_exec]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|