lib/lalala/engine.rb in lalala-4.0.0.dev.94 vs lib/lalala/engine.rb in lalala-4.0.0.dev.107

- old
+ new

@@ -43,10 +43,14 @@ stack.insert_before( 'ActionDispatch::Flash', Lalala::ExtRack::PageLoader) + stack.insert_before( + 'ActionDispatch::Head', + Lalala::ExtRack::MultipleFileUploadSupport) + end end ActiveSupport.on_load :active_record do @@ -67,9 +71,12 @@ ActiveRecord::Migration::CommandRecorder.send( :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