1
0
Fork 0
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:
Jeremy Daer 2016-04-05 21:56:45 -07:00
parent bf84a99239
commit 9c2945f4cc

View file

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