aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/app
diff options
context:
space:
mode:
authorJon Evans <joncodes+github@gmail.com>2016-03-22 12:55:37 -0600
committerJon Evans <joncodes+github@gmail.com>2016-03-22 12:55:37 -0600
commitff5f1d33fc6ff1ac8a1e7b58744df41d28d387b1 (patch)
treebc8244a5786974465cc13103d99967f09c3ad8c2 /actioncable/app
parent63f5a98bacbced546ec9dce7a44c908c664b2f55 (diff)
downloadrails-ff5f1d33fc6ff1ac8a1e7b58744df41d28d387b1.tar.gz
rails-ff5f1d33fc6ff1ac8a1e7b58744df41d28d387b1.tar.bz2
rails-ff5f1d33fc6ff1ac8a1e7b58744df41d28d387b1.zip
Fix WebSocket already open log message typo
Diffstat (limited to 'actioncable/app')
-rw-r--r--actioncable/app/assets/javascripts/action_cable/connection.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/actioncable/app/assets/javascripts/action_cable/connection.coffee b/actioncable/app/assets/javascripts/action_cable/connection.coffee
index 92272cc5b8..3a139acf3a 100644
--- a/actioncable/app/assets/javascripts/action_cable/connection.coffee
+++ b/actioncable/app/assets/javascripts/action_cable/connection.coffee
@@ -20,7 +20,7 @@ class ActionCable.Connection
open: =>
if @isActive()
- ActionCable.log("Attemped to open WebSocket, but existing socket is #{@getState()}")
+ ActionCable.log("Attempted to open WebSocket, but existing socket is #{@getState()}")
throw new Error("Existing connection must be closed before opening")
else
ActionCable.log("Opening WebSocket, current state is #{@getState()}")