Browse Source

We don't use channels

pull/392/head
baarkerlounger 3 years ago
parent
commit
3ed150d5b5
  1. 6
      app/frontend/channels/consumer.js
  2. 5
      app/frontend/channels/index.js

6
app/frontend/channels/consumer.js

@ -1,6 +0,0 @@
// Action Cable provides the framework to deal with WebSockets in Rails.
// You can generate new channels where WebSocket features live using the `bin/rails generate channel` command.
import { createConsumer } from "@rails/actioncable"
export default createConsumer()

5
app/frontend/channels/index.js

@ -1,5 +0,0 @@
// Load all the channels within this directory and all subdirectories.
// Channel files must be named *_channel.js.
const channels = require.context('.', true, /_channel\.js$/)
channels.keys().forEach(channels)
Loading…
Cancel
Save