Permalink
Browse files

Rails.config doesn't exist, it should be Rails.application.config ins…

…tead
  • Loading branch information...
1 parent 8815de7 commit fbfea9e98dda97f2bf03d69ef2cdc262e69c09ee @guilleiguaran guilleiguaran committed Oct 9, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 railties/lib/rails/generators/rails/app/templates/config/initializers/locale.rb
@@ -1,7 +1,7 @@
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
-# Rails.config.time_zone = 'Central Time (US & Canada)'
+# Rails.application.config.time_zone = 'Central Time (US & Canada)'
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
-# Rails.config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
-# Rails.config.i18n.default_locale = :de
+# Rails.application.config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
+# Rails.application.config.i18n.default_locale = :de

0 comments on commit fbfea9e

Please sign in to comment.