Skip to content

Commit

Permalink
Merge pull request #2105 from zz9pzza/issue_4276_take2
Browse files Browse the repository at this point in the history
4276 Don't enforce locales
  • Loading branch information
sarken committed May 13, 2015
2 parents 4bb9f9a + ca68747 commit c7af7c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class Application < Rails::Application
# I18n validation deprecation warning fix
#

I18n.config.enforce_available_locales = true
I18n.config.enforce_available_locales = false
I18n.config.available_locales = [:en, :ar, :ca, 'zh-CN', :cs, :nl, :fi, :fr, :de, :he, :hu, :id,
:it, :ja, :ko, :lt, :pl, 'pt-BR', :ru, :es, :sv, :tr]

Expand Down

0 comments on commit c7af7c9

Please sign in to comment.