1
0
mirror of https://github.com/danbee/danbarberphoto synced 2025-03-04 08:49:07 +00:00

Fix locale deprecation warning.

This commit is contained in:
Dan Barber 2014-03-07 14:10:30 +00:00
parent 252c661fbc
commit 2c0cbc53b3

View File

@ -31,6 +31,7 @@ module DanBarberPhoto
# 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.enforce_available_locales = true
config.i18n.default_locale = :en
# Configure the default encoding used in templates for Ruby 1.9.