From 5954fd1e0aa907e07ffff932aedc51109d4ce56d Mon Sep 17 00:00:00 2001 From: Lachlan Sylvester Date: Wed, 22 Jul 2015 11:03:47 +1000 Subject: add broadcast_to and stream_for methods as per #26 --- lib/action_cable/channel/base.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/action_cable/channel/base.rb') diff --git a/lib/action_cable/channel/base.rb b/lib/action_cable/channel/base.rb index 87ae3a1211..c83c3b74fd 100644 --- a/lib/action_cable/channel/base.rb +++ b/lib/action_cable/channel/base.rb @@ -68,6 +68,8 @@ module ActionCable include Callbacks include PeriodicTimers include Streams + include Naming + include Broadcasting on_subscribe :subscribed on_unsubscribe :unsubscribed -- cgit v1.2.3