1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

ActionCable.server should always return the same instance

This commit is contained in:
Jeffrey Hardy 2015-07-08 22:45:58 -04:00
parent 5ad75fb459
commit 6c0afaf967

View file

@ -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