编辑tpi问题

dev_forum
jingquan huang 6 years ago
parent 5522194d5f
commit c257ad7456

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

Loading…
Cancel
Save