Live timelines using ActionCable

This commit is contained in:
Eugen Rochko committed 2016-08-18 15:49:51 +02:00
1 parent 10ba09f546
commit 6deb9f966e
24 files changed
+99 -53

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
// Action Cable provides the framework to deal with WebSockets in Rails.
// You can generate new channels where WebSocket features live using the rails generate channel command.
//
//= require action_cable
//= require_self
//= require_tree ./channels
(function() {
this.App || (this.App = {});
App.cable = ActionCable.createConsumer();
}).call(this);