From 05309cdf3858d4e65bda3fb31cbf86eed3b21c42 Mon Sep 17 00:00:00 2001 From: Pratik Naik Date: Sat, 7 Feb 2015 00:49:41 +0530 Subject: Use the class pubsub method --- lib/action_cable/channel/redis.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/action_cable/channel') diff --git a/lib/action_cable/channel/redis.rb b/lib/action_cable/channel/redis.rb index 2aca785cbe..00a8230a74 100644 --- a/lib/action_cable/channel/redis.rb +++ b/lib/action_cable/channel/redis.rb @@ -25,7 +25,7 @@ module ActionCable end def pubsub - @connection.pubsub + @connection.class.pubsub end end -- cgit v1.2.3