fix i18n deprecation warning
This commit is contained in:
parent
3937400683
commit
2baa1d3349
1 changed files with 4 additions and 0 deletions
|
@ -2,6 +2,10 @@ require File.expand_path('../boot', __FILE__)
|
||||||
|
|
||||||
require 'rails/all'
|
require 'rails/all'
|
||||||
|
|
||||||
|
# need to include this before requiring some other gems
|
||||||
|
# http://stackoverflow.com/questions/20361428
|
||||||
|
I18n.enforce_available_locales = true
|
||||||
|
|
||||||
if defined?(Bundler)
|
if defined?(Bundler)
|
||||||
# If you precompile assets before deploying to production, use this line
|
# If you precompile assets before deploying to production, use this line
|
||||||
Bundler.require(*Rails.groups(:assets => %w(development test)))
|
Bundler.require(*Rails.groups(:assets => %w(development test)))
|
||||||
|
|
Loading…
Reference in a new issue