diff options
| -rw-r--r-- | config/routes.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index 842efda84..74e4b47b5 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -9,7 +9,6 @@ ChouetteIhm::Application.routes.draw do devise_scope :user do authenticated :user do - mount Sidekiq::Web => '/sidekiq' root :to => 'referentials#index', as: :authenticated_root end @@ -24,6 +23,8 @@ ChouetteIhm::Application.routes.draw do end end + mount Sidekiq::Web => '/sidekiq' + namespace :api do namespace :v1 do resources :time_tables, :only => [:index, :show] |
