From 92a4208fa27cc80d596d9c99da3e19c090bcc8c0 Mon Sep 17 00:00:00 2001
From: Teal <git@teal.is>
Date: Mon, 27 May 2024 13:52:29 +0200
Subject: [PATCH] add actioncable for prod

---
 config/routes.rb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/config/routes.rb b/config/routes.rb
index 4977ab0..8763f3b 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,6 +1,8 @@
 Rails.application.routes.draw do
-  get 'speakers/show'
   mount Crono::Engine, at: '/crono'
+  mount ActionCable.server => '/cable'
+
+  get 'speakers/show'
 
   get 'login', to: 'users#login', as: :login
   post 'login', to: 'users#login'
-- 
GitLab