Skip to content

Commit 5a04f71

Browse files
committed
fixup
1 parent 4b07e87 commit 5a04f71

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/custom_elements/rails/railtie.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,9 @@ class Railtie < ::Rails::Engine
77
end
88
end
99

10-
initializer "custom_elements-rails.spark", after: "hotwire_spark.config" do |app|
10+
initializer "custom_elements-rails.configure_spark", after: "hotwire_spark.config" do |app|
1111
spark_available = app.config.respond_to?(:hotwire) && app.config.hotwire.respond_to?(:spark)
1212
if spark_available
13-
puts "spark_available"
1413
# Custom elements don't seem to work with morphing
1514
Hotwire::Spark.html_reload_method = :replace
1615

0 commit comments

Comments
 (0)