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

RemoteConnection#disconnect: fix ArgumentError on ruby 3.0

This commit is contained in:
Vladislav 2021-03-14 21:17:02 +03:00 committed by George Claghorn
parent e63f8205d1
commit d264276288

View file

@ -45,7 +45,7 @@ module ActionCable
# Uses the internal channel to disconnect the connection.
def disconnect
server.broadcast internal_channel, type: "disconnect"
server.broadcast internal_channel, { type: "disconnect" }
end
# Returns all the identifiers that were applied to this connection.