lib/lalala/engine.rb in lalala-4.0.0.dev.385 vs lib/lalala/engine.rb in lalala-4.0.0.dev.388
- old
+ new
@@ -10,9 +10,10 @@
I18n.enforce_available_locales = true
config.lalala = ActiveSupport::OrderedOptions.new
config.lalala.i18n = ActiveSupport::OrderedOptions.new
config.lalala.i18n.adapter = nil
+ config.lalala.i18n.allow_accept_language = true
initializer "lalala.migrations" do |app|
app.class.configure do
unless defined?(CALLED_FROM_ENGINE) and CALLED_FROM_ENGINE
config.paths['db/migrate'] += Lalala::Engine.paths['db/migrate'].existent