changeset 1462:2436fda71fa9 live

Avoid deprecation warning
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Wed, 08 Jan 2014 09:40:09 +0000
parents 46a444fa87bc
children 274b89aabe38
files config/application.rb
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/config/application.rb	Mon Jan 06 15:54:12 2014 +0000
+++ b/config/application.rb	Wed Jan 08 09:40:09 2014 +0000
@@ -32,6 +32,10 @@
     # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
     # config.time_zone = 'Central Time (US & Canada)'
 
+    # Avoid deprecation warning (may want to change this later if future
+    # Redmine updates are OK with it)
+    config.i18n.enforce_available_locales = false
+
     # 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