diff --git a/lib/zizia/engine.rb b/lib/zizia/engine.rb index 55f8343..0ea3da1 100644 --- a/lib/zizia/engine.rb +++ b/lib/zizia/engine.rb @@ -9,6 +9,10 @@ module Zizia class Engine < ::Rails::Engine isolate_namespace Zizia + initializer 'zizia.assets.precompile' do |app| + app.config.assets.precompile += %w[*.js *.css] + end + initializer :append_migrations do |app| unless app.root.to_s.match root.to_s config.paths['db/migrate'].expanded.each do |expanded_path|