programandoarg/pg_rails

View on GitHub
pg_layout/app/javascript/config/cable_ready.js

Summary

Maintainability
A
0 mins
Test Coverage
import consumer from '../channels/consumer'
import CableReady from 'cable_ready'

CableReady.initialize({ consumer })