programandoarg/pg_rails

View on GitHub
pg_layout/app/javascript/config/turbo_rails/set_consumer.js

Summary

Maintainability
A
0 mins
Test Coverage
import consumer from '../../channels/consumer'
import { setConsumer } from '@hotwired/turbo-rails/app/javascript/turbo/cable.js'

setConsumer(consumer)