From 213bb0cfa4c04367ee109307eb36053091c870cc Mon Sep 17 00:00:00 2001 From: Al Snow Date: Wed, 26 Dec 2018 10:50:00 -0500 Subject: [PATCH] Fixed i18n.fallbacks warning msg --- config/environments/production.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index 8a0c22e..d61091e 100755 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -70,7 +70,7 @@ Railsgoat::Application.configure do # Enable locale fallbacks for I18n (makes lookups for any locale fall back to # the I18n.default_locale when a translation can not be found). - config.i18n.fallbacks = true + config.i18n.fallbacks = [I18n.default_locale] # Send deprecation notices to registered listeners. config.active_support.deprecation = :notify