|
|
|
@ -14,7 +14,7 @@ class ShixunsController < ApplicationController
|
|
|
|
|
|
|
|
|
|
before_action :shixun_access_allowed, except: [:index, :new, :create, :menus, :get_recommend_shixuns,
|
|
|
|
|
:propaedeutics, :departments, :apply_shixun_mirror,
|
|
|
|
|
:get_mirror_script, :download_file, :shixun_list, :review_shixuns]
|
|
|
|
|
:get_mirror_script, :download_file, :shixun_list, :batch_send_to_course]
|
|
|
|
|
before_action :find_repo_name, only: [:repository, :commits, :file_content, :update_file, :shixun_exec, :copy, :add_file]
|
|
|
|
|
|
|
|
|
|
before_action :allowed, only: [:update, :close, :update_propaedeutics, :settings, :publish,
|
|
|
|
|