From e81bb80cb4214ff795f7a2bb03f699e2a7f7d45a Mon Sep 17 00:00:00 2001 From: Matthew Draper Date: Sun, 24 Jan 2016 15:51:21 +1030 Subject: Normalize on no arguments for the success callback --- actioncable/lib/action_cable/channel/streams.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actioncable/lib/action_cable/channel') diff --git a/actioncable/lib/action_cable/channel/streams.rb b/actioncable/lib/action_cable/channel/streams.rb index 589946c3db..e2876ef6fa 100644 --- a/actioncable/lib/action_cable/channel/streams.rb +++ b/actioncable/lib/action_cable/channel/streams.rb @@ -76,7 +76,7 @@ module ActionCable streams << [ broadcasting, callback ] EM.next_tick do - pubsub.subscribe(broadcasting, callback, lambda do |reply| + pubsub.subscribe(broadcasting, callback, lambda do transmit_subscription_confirmation logger.info "#{self.class.name} is streaming from #{broadcasting}" end) -- cgit v1.2.3