From c10cbbeeca33a1a0fb06dfc5b3b146cb422e9ed4 Mon Sep 17 00:00:00 2001 From: Jorge Manrubia Date: Sat, 21 Dec 2024 13:03:45 +0100 Subject: [PATCH] Remove param that does not make sense --- lib/hotwire/spark/action_cable/server.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/hotwire/spark/action_cable/server.rb b/lib/hotwire/spark/action_cable/server.rb index 8910906..20058d5 100644 --- a/lib/hotwire/spark/action_cable/server.rb +++ b/lib/hotwire/spark/action_cable/server.rb @@ -1,5 +1,5 @@ class Hotwire::Spark::ActionCable::Server < ActionCable::Server::Base - def initialize(config: nil) + def initialize config = ::ActionCable::Server::Base.config.dup config.connection_class = -> { ::ActionCable::Connection::Base } super(config: config)