dev_daiao
daiao 5 years ago
parent d4cc93f0c3
commit a39329f3bb

@ -833,6 +833,7 @@ class ShixunsController < ApplicationController
# 设置私密版本库的在tpm中的目录
def set_secret_dir
raise("设置路径不能为空") if params[:secret_dir_path].blank?
raise("请先配置私密版本库") if @shixun.shixun_secret_repository.blank?
@shixun.shixun_secret_repository.update_attributes(:secret_dir_path => params[:secret_dir_path])
normal_status("设置成功")
end

Loading…
Cancel
Save