dev_course
jingquan huang 6 years ago
parent 1543ed0379
commit 6c6d64ad42

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

Loading…
Cancel
Save