diff --git a/app/frontend/channels/consumer.js b/app/frontend/channels/consumer.js deleted file mode 100644 index 8ec3aad3a..000000000 --- a/app/frontend/channels/consumer.js +++ /dev/null @@ -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() diff --git a/app/frontend/channels/index.js b/app/frontend/channels/index.js deleted file mode 100644 index 0cfcf7491..000000000 --- a/app/frontend/channels/index.js +++ /dev/null @@ -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)