From 2815db356977b506f63d155aecf71ee010a64c62 Mon Sep 17 00:00:00 2001 From: Matthew Draper Date: Thu, 14 Jan 2016 15:55:41 +1030 Subject: Pull the action methods directly onto the adapter --- actioncable/lib/action_cable/server/base.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actioncable/lib/action_cable/server/base.rb') diff --git a/actioncable/lib/action_cable/server/base.rb b/actioncable/lib/action_cable/server/base.rb index 6539745c79..e0703101aa 100644 --- a/actioncable/lib/action_cable/server/base.rb +++ b/actioncable/lib/action_cable/server/base.rb @@ -46,8 +46,8 @@ module ActionCable end # The pubsub adapter used for all streams/broadcasting. - def pubsub - @pubsub ||= config.storage_adapter.new(self).pubsub + def adapter + @adapter ||= config.storage_adapter.new(self) end # All the identifiers applied to the connection class associated with this server. -- cgit v1.2.3