aboutsummaryrefslogtreecommitdiffstats
path: root/lib/action_cable/channel/redis.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/action_cable/channel/redis.rb')
-rw-r--r--lib/action_cable/channel/redis.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/action_cable/channel/redis.rb b/lib/action_cable/channel/redis.rb
index b5fc812919..bdd6ab9dcf 100644
--- a/lib/action_cable/channel/redis.rb
+++ b/lib/action_cable/channel/redis.rb
@@ -29,8 +29,7 @@ module ActionCable
protected
def default_subscription_callback(channel)
-> (message) do
- logger.info "Received a message over the redis channel: #{channel}"
- broadcast ActiveSupport::JSON.decode(message)
+ transmit ActiveSupport::JSON.decode(message), via: "incoming action from #{channel}"
end
end
end