diff --git a/config/routes.rb b/config/routes.rb index 1357d9c..bd26594 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -21,6 +21,8 @@ Rails.application.routes.draw do get :summary, on: :collection end resources :tables_arrangements, only: %i[index show] + + root to: redirect("/%{slug}") end resources :captcha, only: :create do @@ -31,6 +33,4 @@ Rails.application.routes.draw do mount Rswag::Api::Engine => '/api-docs' get 'up' => 'rails/health#show', as: :rails_health_check - - root to: redirect('/dashboard') end