diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/action_cable.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/action_cable.rb b/lib/action_cable.rb index 5f1f3bec35..fac83cb4c3 100644 --- a/lib/action_cable.rb +++ b/lib/action_cable.rb @@ -28,6 +28,6 @@ module ActionCable # Singleton instance of the server module_function def server - ActionCable::Server::Base.new + @server ||= ActionCable::Server::Base.new end end |