fix i18n deprecation warning

This commit is contained in:
wvengen 2013-12-06 16:13:04 +01:00
parent 3937400683
commit 2baa1d3349
1 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,10 @@ require File.expand_path('../boot', __FILE__)
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 you precompile assets before deploying to production, use this line
Bundler.require(*Rails.groups(:assets => %w(development test)))