From 819a3edae405227f11283ad494a7f4ca9c771467 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Sat, 21 Aug 2021 19:30:19 -0400 Subject: init --- app/javascript/channels/index.js | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 app/javascript/channels/index.js (limited to 'app/javascript/channels/index.js') diff --git a/app/javascript/channels/index.js b/app/javascript/channels/index.js new file mode 100644 index 0000000..0cfcf74 --- /dev/null +++ b/app/javascript/channels/index.js @@ -0,0 +1,5 @@ +// 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) -- cgit 1.4.1