mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Cable typo: isSupportedProtocol -> isProtocolSupported
This commit is contained in:
parent
bf84a99239
commit
9c2945f4cc
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ class ActionCable.Connection
|
|||
|
||||
events:
|
||||
message: (event) ->
|
||||
return unless @isSupportedProtocol()
|
||||
return unless @isProtocolSupported()
|
||||
{identifier, message, type} = JSON.parse(event.data)
|
||||
switch type
|
||||
when message_types.welcome
|
||||
|
|
Loading…
Reference in a new issue