From 71ebc3aca6be37faf7bdd775667e23b9d759e4a6 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 22 Jun 2015 16:25:23 +0200 Subject: Style --- lib/action_cable/connection/subscriptions.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/action_cable/connection/subscriptions.rb b/lib/action_cable/connection/subscriptions.rb index dbba8eca1d..a37708d85f 100644 --- a/lib/action_cable/connection/subscriptions.rb +++ b/lib/action_cable/connection/subscriptions.rb @@ -40,9 +40,7 @@ module ActionCable end def cleanup - subscriptions.each do |id, channel| - channel.perform_disconnection - end + subscriptions.each { |id, channel| channel.perform_disconnection } end private -- cgit v1.2.3