Skip to content

Commit

Permalink
prevent i18n deprecated warning
Browse files Browse the repository at this point in the history
i18n 0.6.4 on Rails 3.2.16 changes behavior.
ruby-i18n/i18n@3b6e56e

git-svn-id: http://svn.redmine.org/redmine/trunk@12365 e93f8b46-1217-0410-a6f0-8f06a7374b81
  • Loading branch information
marutosi committed Dec 7, 2013
1 parent a624204 commit f1175fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ class Application < Rails::Application
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
# config.i18n.default_locale = :de

I18n.enforce_available_locales = false

# Configure the default encoding used in templates for Ruby 1.9.
config.encoding = "utf-8"

Expand Down

0 comments on commit f1175fd

Please sign in to comment.