aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/app/assets/javascripts/action_cable/subscriptions.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'actioncable/app/assets/javascripts/action_cable/subscriptions.coffee')
-rw-r--r--actioncable/app/assets/javascripts/action_cable/subscriptions.coffee2
1 files changed, 2 insertions, 0 deletions
diff --git a/actioncable/app/assets/javascripts/action_cable/subscriptions.coffee b/actioncable/app/assets/javascripts/action_cable/subscriptions.coffee
index 326e2ec20b..d3ce67135d 100644
--- a/actioncable/app/assets/javascripts/action_cable/subscriptions.coffee
+++ b/actioncable/app/assets/javascripts/action_cable/subscriptions.coffee
@@ -16,6 +16,8 @@ class ActionCable.Subscriptions
subscription = new ActionCable.Subscription @consumer, params, mixin
@add(subscription)
+ subscription
+
# Private
add: (subscription) ->