count-anything/app/javascript/channels/consumer.js
Louis Vallat 1ab28933e7
feat: added navbar
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2023-02-04 14:22:05 +01:00

7 lines
270 B
JavaScript

// Action Cable provides the framework to deal with WebSockets in Rails.
// You can generate new channels where WebSocket features live using the `bin/rails generate channel` command.
import { createConsumer } from "@rails/actioncable"
export default createConsumer()