lib/panoptic/engine.rb in panoptic-0.4.2 vs lib/panoptic/engine.rb in panoptic-0.5.0
- old
+ new
@@ -1,9 +1,14 @@
# frozen_string_literal: true
+require "turbo-rails"
require "pagy"
module Panoptic
class Engine < ::Rails::Engine
isolate_namespace Panoptic
+
+ initializer "panoptic.assets.precompile" do |app|
+ app.config.assets.precompile += %w[panoptic_manifest.js]
+ end
end
end