lib/lalala/engine.rb in lalala-4.0.0.dev.416 vs lib/lalala/engine.rb in lalala-4.1.0.dev.299

- old
+ new

@@ -10,11 +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 @@ -113,21 +112,15 @@ :include, Lalala::ExtActiveRecord::Schema::JoinTableInverter) ActiveRecord::Base.send( :include, Lalala::ExtActiveRecord::I18nTranslationsWriter) - ActiveRecord::Base.send( - :include, Lalala::ExtActiveRecord::Assets) - end ActiveSupport.on_load :action_controller do ActionDispatch::Routing::Mapper.send( :include, Lalala::Pages::RouteMapper) - - ActionDispatch::Request.send( - :include, Lalala::ExtActionDispatch::MultiFileUpload) ActionDispatch::Request.send( :include, Lalala::ExtActionDispatch::PageName) ActionController::Base.send(