Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
 

14 rader
358 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. //= require_tree ./channels
  7. (function() {
  8. this.App || (this.App = {});
  9. App.cable = ActionCable.createConsumer();
  10. }).call(this);