diff options
author | Matthew Draper <matthew@trebex.net> | 2016-01-14 15:55:41 +1030 |
---|---|---|
committer | Jon Moss <me@jonathanmoss.me> | 2016-01-18 18:59:00 -0500 |
commit | 2815db356977b506f63d155aecf71ee010a64c62 (patch) | |
tree | 6ac39a82985340ff7cea0b8a976e88799d895e24 /actioncable/lib/action_cable/server/base.rb | |
parent | 7b79ae0335b67377636cf2ba7be70a4119ca90cd (diff) | |
download | rails-2815db356977b506f63d155aecf71ee010a64c62.tar.gz rails-2815db356977b506f63d155aecf71ee010a64c62.tar.bz2 rails-2815db356977b506f63d155aecf71ee010a64c62.zip |
Pull the action methods directly onto the adapter
Diffstat (limited to 'actioncable/lib/action_cable/server/base.rb')
-rw-r--r-- | actioncable/lib/action_cable/server/base.rb | 4 |
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. |