Permalink
Browse files

Merge pull request #116 from alphagov/enforce-i18n-available-locales

enable i18n enforce_available_locales
  • Loading branch information...
2 parents 9b2ff41 + ac215aa commit 87ac3f2975a2041a00083a233e11e0f5fd7a7d95 @alext alext committed Dec 5, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 config/application.rb
View
@@ -40,6 +40,7 @@ class Application < Rails::Application
# 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
+ I18n.config.enforce_available_locales = true
# Configure the default encoding used in templates for Ruby 1.9.
config.encoding = "utf-8"

0 comments on commit 87ac3f2

Please sign in to comment.