Fix deprecation warning
This commit is contained in:
parent
bfc61df335
commit
268db267ed
1 changed files with 1 additions and 0 deletions
|
@ -19,6 +19,7 @@ module Tack2us
|
||||||
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
|
# 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.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
||||||
# config.i18n.default_locale = :de
|
# config.i18n.default_locale = :de
|
||||||
|
config.i18n.enforce_available_locales = true
|
||||||
config.assets.precompile += %w(*.png *.jpg *.jpeg *.gif)
|
config.assets.precompile += %w(*.png *.jpg *.jpeg *.gif)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue