Skip to content

Commit

Permalink
Rename concern
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgemanrubia committed Dec 6, 2024
1 parent 8360939 commit eca8201
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module HotwireSpark::ActionCable::SolidCableWithSafeReloads
module HotwireSpark::ActionCable::SolidCableListenerWithSafeReloads
private
def broadcast_messages
Rails.application.reloader.wrap do
Expand Down
2 changes: 1 addition & 1 deletion lib/hotwire_spark/installer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def configure_middleware

# TODO: Temporary patch until this gets merged https://github.com/rails/solid_cable/pull/50
if defined?(::ActionCable::SubscriptionAdapter::SolidCable::Listener)
ActionCable::SubscriptionAdapter::SolidCable::Listener.prepend(HotwireSpark::ActionCable::SolidCableWithSafeReloads)
ActionCable::SubscriptionAdapter::SolidCable::Listener.prepend(HotwireSpark::ActionCable::SolidCableListenerWithSafeReloads)
end

middleware.insert_before ActionDispatch::Executor, HotwireSpark::ActionCable::PersistentCableMiddleware
Expand Down

0 comments on commit eca8201

Please sign in to comment.