aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/lib/action_cable/server/base.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actioncable/lib/action_cable/server/base.rb')
-rw-r--r--actioncable/lib/action_cable/server/base.rb4
1 files changed, 2 insertions, 2 deletions
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.