dev_static
daiao 5 years ago
parent 51b59cb16b
commit 82d966ec6f

@ -893,7 +893,7 @@ class ShixunsController < ApplicationController
content = upload_file.tempfile.read
author_name = current_user.real_name
author_email = current_user.git_mail
update_file_content(content, @repo_path, author_email, author_name, "upload file by browser")
update_file_content(content, @repo_path, @path, author_email, author_name, "upload file by browser")
render_ok
end

Loading…
Cancel
Save