diff options
Diffstat (limited to 'config')
| -rw-r--r-- | config/routes.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/config/routes.rb b/config/routes.rb index 25105241a..76d6b6dc7 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,5 +1,3 @@ -require 'sidekiq/web' - ChouetteIhm::Application.routes.draw do resource :dashboard @@ -179,8 +177,10 @@ ChouetteIhm::Application.routes.draw do end end - mount Sidekiq::Web => '/sidekiq' - + authenticate :user do + mount Sidekiq::Web => '/sidekiq' + end + namespace :api do namespace :v1 do resources :workbenches, except: [:destroy] do |
