spec/dummy/config/application.rb in outdatedbrowser_rails-1.0.2.0 vs spec/dummy/config/application.rb in outdatedbrowser_rails-1.1.0
- old
+ new
@@ -31,11 +31,12 @@
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
# 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}').to_s]
- # config.i18n.default_locale = :de
+ config.i18n.default_locale = 'de'
+ I18n.config.enforce_available_locales = false
# Configure the default encoding used in templates for Ruby 1.9.
config.encoding = "utf-8"
# Configure sensitive parameters which will be filtered from the log file.
@@ -60,6 +61,5 @@
# Version of your assets, change this if you want to expire all your assets
config.assets.version = '1.0'
end
end
-