aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable
diff options
context:
space:
mode:
authorJeremy Daer <jeremydaer@gmail.com>2016-03-04 08:31:53 -0700
committerJeremy Daer <jeremydaer@gmail.com>2016-03-04 08:31:53 -0700
commit7fe67bb67ace2e6e5dc372af33bdb2177106d985 (patch)
tree1460804b90d3e91f21f138087353f87f8deb796e /actioncable
parentc577657f6de64b743b12a21108dc9cc5cfc35098 (diff)
parent9ce6fe439ad58cb44f25d7ec785e9f04da83becd (diff)
downloadrails-7fe67bb67ace2e6e5dc372af33bdb2177106d985.tar.gz
rails-7fe67bb67ace2e6e5dc372af33bdb2177106d985.tar.bz2
rails-7fe67bb67ace2e6e5dc372af33bdb2177106d985.zip
Merge pull request #24056 from lifo/cable-create-subscriptions-fix
Fix ActionCable.Subscriptions#create
Diffstat (limited to 'actioncable')
-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) ->