Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #7881 from guilleiguaran/fix-initializer

Rails.config doesn't exist, it should be Rails.application.config instead
  • Loading branch information...
commit bf2c43983cde2482106a93786a05d3030c08f074 2 parents 7fcbbaf + fbfea9e
@rafaelfranca rafaelfranca authored
View
6 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
Please sign in to comment.
Something went wrong with that request. Please try again.