diff options
author | Vladimir Dementyev <dementiev.vm@gmail.com> | 2019-01-22 14:31:51 -0500 |
---|---|---|
committer | Vladimir Dementyev <dementiev.vm@gmail.com> | 2019-01-22 15:14:35 -0500 |
commit | 35bef64718f85ef550916f840fd10a9288185577 (patch) | |
tree | 1587b220e6817b40ce8e9f2d7ae442ea805b69a7 /actioncable/lib | |
parent | dc80459a9e9a6088668f93c9f44be4c170193fb7 (diff) | |
download | rails-35bef64718f85ef550916f840fd10a9288185577.tar.gz rails-35bef64718f85ef550916f840fd10a9288185577.tar.bz2 rails-35bef64718f85ef550916f840fd10a9288185577.zip |
Add Channel#broadcast_to
Diffstat (limited to 'actioncable/lib')
-rw-r--r-- | actioncable/lib/action_cable/channel/broadcasting.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actioncable/lib/action_cable/channel/broadcasting.rb b/actioncable/lib/action_cable/channel/broadcasting.rb index bd900e1c65..6c7aec49e3 100644 --- a/actioncable/lib/action_cable/channel/broadcasting.rb +++ b/actioncable/lib/action_cable/channel/broadcasting.rb @@ -7,7 +7,7 @@ module ActionCable module Broadcasting extend ActiveSupport::Concern - delegate :broadcasting_for, to: :class + delegate :broadcasting_for, :broadcast_to, to: :class module ClassMethods # Broadcast a hash to a unique broadcasting for this <tt>model</tt> in this channel. |