dev_aliyun_beta
jingquan huang 6 years ago
parent 848ec0acd3
commit 07de3cbd72

@ -46,7 +46,7 @@ module GitCommon
# 为版本库添加文件
def add_file
@path, message, content = params[:path].strip, params[:message], params[:content]
author_name, author_email = current_user.real_name, current_user.current_user.git_mail
author_name, author_email = current_user.real_name, current_user.git_mail
@content = GitService.update_file(repo_path: @repo_path,
file_path: path,
message: message,

Loading…
Cancel
Save