git文件更新问题

dev_forum
jingquan huang 5 years ago
parent 98359efe4b
commit 70f3dfdaa3

@ -653,6 +653,7 @@ class ShixunsController < ApplicationController
content = params[:content] content = params[:content]
author_name = current_user.full_name author_name = current_user.full_name
author_email = current_user.mail author_email = current_user.mail
Rails.logger.info("###222333####{content}")
@content = update_file_content content, @repo_path, @path, author_email, author_name, "Edit by browser" @content = update_file_content content, @repo_path, @path, author_email, author_name, "Edit by browser"
end end

Loading…
Cancel
Save