打印参数

dev_aliyun2
daiao 5 years ago committed by harry
parent 681b8fd8a1
commit 4a3def8d2d

@ -16,7 +16,7 @@ class ShixunsController < ApplicationController
:propaedeutics, :departments, :apply_shixun_mirror, :jupyter_exec, :propaedeutics, :departments, :apply_shixun_mirror, :jupyter_exec,
:get_mirror_script, :download_file, :shixun_list, :batch_send_to_course] :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, before_action :find_repo_name, only: [:repository, :commits, :file_content, :update_file, :shixun_exec, :copy,
:add_file, :jupyter_exec, :upload_git_file, :delete_git_file, :upload_git_file] :add_file, :jupyter_exec, :upload_git_file, :delete_git_file, :upload_git_folder]
before_action :allowed, only: [:update, :close, :update_propaedeutics, :settings, :publish, :apply_public, :upload_git_folder, before_action :allowed, only: [:update, :close, :update_propaedeutics, :settings, :publish, :apply_public, :upload_git_folder,
:shixun_members_added, :change_manager, :collaborators_delete, :upload_git_file, :shixun_members_added, :change_manager, :collaborators_delete, :upload_git_file,
@ -1098,8 +1098,10 @@ private
else else
@shixun.try(:repo_path) @shixun.try(:repo_path)
end end
logger.info("#####repo_path: #{@repo_path}")
@path = params[:path] @path = params[:path]
Rails.logger.info("#####repo_path: #{@repo_path}")
Rails.logger.info("#####repo_path: #{@path}")
end end
def allowed def allowed

Loading…
Cancel
Save