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]