diff options
author | Trevor Wistaff <trev@a07.com.au> | 2017-06-06 14:48:18 +1000 |
---|---|---|
committer | Gannon McGibbon <gannon.mcgibbon@gmail.com> | 2018-10-16 17:38:48 -0400 |
commit | 2c01714d2d27c80008f479611e7fcf66eec86987 (patch) | |
tree | 79144f27c2605d6df8a864c01db6858e0729e9ae | |
parent | 45b6ee6aa21945974361ab703ebf731a8ca75c24 (diff) | |
download | rails-2c01714d2d27c80008f479611e7fcf66eec86987.tar.gz rails-2c01714d2d27c80008f479611e7fcf66eec86987.tar.bz2 rails-2c01714d2d27c80008f479611e7fcf66eec86987.zip |
[ci skip] Remove explicit to_s for consistency with other example
-rw-r--r-- | guides/source/i18n.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/i18n.md b/guides/source/i18n.md index 78e5f27448..b1bb13e0f8 100644 --- a/guides/source/i18n.md +++ b/guides/source/i18n.md @@ -116,7 +116,7 @@ NOTE: The backend lazy-loads these translations when a translation is looked up You can change the default locale as well as configure the translations load paths in `config/application.rb` as follows: ```ruby - config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s] + config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}')] config.i18n.default_locale = :de ``` |