From 4d98b1871ac6b0ca22e1b0386f59f05de31842ca Mon Sep 17 00:00:00 2001 From: Muhsin Keloth Date: Mon, 30 Jun 2025 12:44:26 +0530 Subject: [PATCH] chore: fix route --- config/routes.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/config/routes.rb b/config/routes.rb index bb094d9fb..8c4d44e83 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -274,8 +274,10 @@ Rails.application.routes.draw do delete :destroy end end - namespace :integrations do - resource :github, only: [:show] + resource :github, controller: 'github', only: [] do + collection do + delete :destroy + end end end resources :working_hours, only: [:update]