闭社主体 forked from https://github.com/tootsuite/mastodon
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
330 B

  1. // Action Cable provides the framework to deal with WebSockets in Rails.
  2. // You can generate new channels where WebSocket features live using the rails generate channel command.
  3. //
  4. //= require action_cable
  5. //= require_self
  6. (function() {
  7. this.App || (this.App = {});
  8. App.cable = ActionCable.createConsumer();
  9. }).call(this);