|
|
@ -910,7 +910,7 @@ class ShixunsController < ApplicationController
|
|
|
|
def delete_git_file
|
|
|
|
def delete_git_file
|
|
|
|
author_name = current_user.real_name
|
|
|
|
author_name = current_user.real_name
|
|
|
|
author_email = current_user.git_mail
|
|
|
|
author_email = current_user.git_mail
|
|
|
|
message = params[:message] || "delete filer by browser"
|
|
|
|
message = params[:message] || "delete file by browser"
|
|
|
|
git_delete_file(@path, author_name, author_email, message)
|
|
|
|
git_delete_file(@path, author_name, author_email, message)
|
|
|
|
render_ok
|
|
|
|
render_ok
|
|
|
|
end
|
|
|
|
end
|
|
|
|