diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/action_cable/server.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/action_cable/server.rb b/lib/action_cable/server.rb index a55c3be3bc..4ee6b15982 100644 --- a/lib/action_cable/server.rb +++ b/lib/action_cable/server.rb @@ -11,7 +11,7 @@ module ActionCable class << self def register_channels(*channel_classes) - registered_channels.merge(channel_classes) + self.registered_channels += channel_classes end end |