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:
parent
e63f8205d1
commit
d264276288
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue