aboutsummaryrefslogtreecommitdiffstats
path: root/lib/action_cable/server.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/action_cable/server.rb')
-rw-r--r--lib/action_cable/server.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/action_cable/server.rb b/lib/action_cable/server.rb
index 08a6e9030b..eeeb50f08c 100644
--- a/lib/action_cable/server.rb
+++ b/lib/action_cable/server.rb
@@ -49,7 +49,7 @@ module ActionCable
id_options = ActiveSupport::JSON.decode(id_key).with_indifferent_access
subscription_klass = registered_channels.detect do |channel_klass|
- channel_klass.channel_name == id_options[:channel] && channel_klass.matches?(id_options)
+ channel_klass.find_name == id_options[:channel] && channel_klass.matches?(id_options)
end
if subscription_klass