1
0
postdoc/app/javascript/channels/index.js

6 lines
212 B
JavaScript
Raw Permalink Normal View History

2020-12-06 20:49:03 +01:00
// 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)