diff options
author | Thomas R. Koll <tomk32@tomk32.de> | 2010-02-12 11:06:30 +0100 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2010-02-25 10:45:34 -0800 |
commit | 45ceacd6ded0d3fc4c567c17cc45c6979c34cc2a (patch) | |
tree | befdad4118af005b999ca240ea3ec15467608779 /railties/lib/generators/rails/app/templates/config | |
parent | f7b0a857e97304a5daeb47313759b9bf0d7e2fc9 (diff) | |
download | rails-45ceacd6ded0d3fc4c567c17cc45c6979c34cc2a.tar.gz rails-45ceacd6ded0d3fc4c567c17cc45c6979c34cc2a.tar.bz2 rails-45ceacd6ded0d3fc4c567c17cc45c6979c34cc2a.zip |
load_path is expecting a String in the application.rb generator
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Diffstat (limited to 'railties/lib/generators/rails/app/templates/config')
-rw-r--r-- | railties/lib/generators/rails/app/templates/config/application.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/generators/rails/app/templates/config/application.rb b/railties/lib/generators/rails/app/templates/config/application.rb index 7c555c2542..dc20ffb2fa 100644 --- a/railties/lib/generators/rails/app/templates/config/application.rb +++ b/railties/lib/generators/rails/app/templates/config/application.rb @@ -35,7 +35,7 @@ module <%= app_const_base %> # config.time_zone = 'Central Time (US & Canada)' # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded. - # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}')] + # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s] # config.i18n.default_locale = :de # Configure generators values. Many other options are available, be sure to check the documentation. |