|
|
@ -1,5 +1,5 @@
|
|
|
|
class ShixunsController < ApplicationController
|
|
|
|
class ShixunsController < ApplicationController
|
|
|
|
before_action :require_login, except: [:download_file, :index, :menus]
|
|
|
|
# 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]
|
|
|
|
|
|
|
|
|
|
|
|
before_action :find_shixun, except: [:index, :new, :create, :menus, :get_recommend_shixuns, :propaedeutics,
|
|
|
|
before_action :find_shixun, except: [:index, :new, :create, :menus, :get_recommend_shixuns, :propaedeutics,
|
|
|
|