From 194d7ee8d6a77d58d61190da77ad3112d4839bce Mon Sep 17 00:00:00 2001 From: jingquan huang Date: Mon, 15 Jul 2019 18:26:24 +0800 Subject: [PATCH] git update file --- app/controllers/shixuns_controller.rb | 1 - app/models/user.rb | 1 - 2 files changed, 2 deletions(-) diff --git a/app/controllers/shixuns_controller.rb b/app/controllers/shixuns_controller.rb index d6a142a22..8f6dd23a4 100644 --- a/app/controllers/shixuns_controller.rb +++ b/app/controllers/shixuns_controller.rb @@ -653,7 +653,6 @@ class ShixunsController < ApplicationController content = params[:content] author_name = current_user.full_name author_email = current_user.git_mail - Rails.logger.info("111111#######{author_email}") @content = update_file_content content, @repo_path, @path, author_email, author_name, "Edit by browser" end diff --git a/app/models/user.rb b/app/models/user.rb index a41043ceb..89918551e 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -157,7 +157,6 @@ class User < ApplicationRecord end def git_mail - Rails.logger.info("111111#######{mail} #222222222####{login}") mail || "#{login}@educoder.net" end