Ruby on Rails Friday, January 8, 2016

How would you only subscribe to an ActionCable channel on the client depending on which view you are in lets say you have a products controller and a inventory controller and you wanted to subscribe to the products channel only when you are on the products view and the inventory channel only when you are on the inventory view?

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/1f8b770f-4154-4daf-b5a7-fc9a17222b8e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment