Create a gist now

Instantly share code, notes, and snippets.

@anka /cable.js Secret
Created Aug 19, 2017

What would you like to do?
Main action cable javascript file
//= require action_cable
//= require_self
(function() {
this.App || (this.App = {});
App.cable = ActionCable.createConsumer();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment