|
|
@ -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
|
|
|
|
|
|
|
|
|
|
|
|