changeset 205:8190fa511e35

Fix some code style
author nanaya <me@nanaya.pro>
date Mon, 19 Oct 2020 04:09:12 +0900
parents 70e90ea4b870
children a3c140f01707
files app/controllers/tweets_controller.rb config/environments/development.rb config/environments/production.rb
diffstat 3 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/app/controllers/tweets_controller.rb	Mon Oct 19 04:08:30 2020 +0900
+++ b/app/controllers/tweets_controller.rb	Mon Oct 19 04:09:12 2020 +0900
@@ -28,6 +28,7 @@
   end
 
   private
+
   def normalized_screen_name
     @user.screen_name.presence || '_'
   end
--- a/config/environments/development.rb	Mon Oct 19 04:08:30 2020 +0900
+++ b/config/environments/development.rb	Mon Oct 19 04:09:12 2020 +0900
@@ -31,7 +31,6 @@
   # Print deprecation notices to the Rails logger.
   config.active_support.deprecation = :log
 
-
   # Raises error for missing translations.
   # config.action_view.raise_on_missing_translations = true
 
--- a/config/environments/production.rb	Mon Oct 19 04:08:30 2020 +0900
+++ b/config/environments/production.rb	Mon Oct 19 04:09:12 2020 +0900
@@ -37,7 +37,7 @@
   config.log_level = :debug
 
   # Prepend all log lines with the following tags.
-  config.log_tags = [ :request_id ]
+  config.log_tags = [:request_id]
 
   # Use a different cache store in production.
   # config.cache_store = :mem_cache_store