Permalink
Browse files

Get rid of I18n deprecation

  • Loading branch information...
1 parent 20377b6 commit fa77bb124fd4004d70614cf49f9cba295e819ab9 @dskecse committed Mar 4, 2014
Showing with 1 addition and 0 deletions.
  1. +1 −0 config/application.rb
View
@@ -25,6 +25,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.enforce_available_locales = true
# Precompile images for Bootstrap-Sass gem
config.assets.precompile += %w(*.png *.jpg *.jpeg *.gif)

0 comments on commit fa77bb1

Please sign in to comment.