From 1602672a0b924c2a4a8208730dc4f3ee86e6d428 Mon Sep 17 00:00:00 2001 From: Jorge Manrubia Date: Fri, 27 Dec 2024 19:59:54 +0100 Subject: [PATCH] Format --- lib/hotwire/spark/change.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/hotwire/spark/change.rb b/lib/hotwire/spark/change.rb index 20efa20..a584597 100644 --- a/lib/hotwire/spark/change.rb +++ b/lib/hotwire/spark/change.rb @@ -23,7 +23,7 @@ def reload_message def canonical_changed_path changed_path.to_s.tap do |changed_path| - monitored_paths.each { |path| changed_path.gsub!(/^#{path}/, "")} + monitored_paths.each { |path| changed_path.gsub!(/^#{path}/, "") } end end