From 2904369027a532f59b35c71a15949e770349fcb1 Mon Sep 17 00:00:00 2001 From: Eric Larson Date: Wed, 20 Nov 2024 12:01:14 -0600 Subject: [PATCH] Update routes.rb Re-add sidekiq route --- config/routes.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config/routes.rb b/config/routes.rb index 7155d4afa..b6012a149 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -99,6 +99,13 @@ end namespace :admin do + + authenticate :user, ->(user) { user.admin? } do + mount Sidekiq::Web => "/sidekiq" + end + + devise_for :users + # Root root to: "documents#index"