21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-05-15 06:58:39 +02:00
chexpire/app/javascript/channels/index.js

6 lines
212 B
JavaScript
Raw Normal View History

2019-03-02 20:10:46 +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)