Include slug in root_url
Some checks failed
Add copyright notice / copyright_notice (pull_request) Successful in 51s
Check usage of free licenses / check-licenses (pull_request) Successful in 1m39s
Run unit tests / unit_tests (pull_request) Failing after 4m28s

This commit is contained in:
Manuel Bustillo 2024-12-07 19:07:06 +01:00
parent 022b58bb38
commit a3f14f4fec

View File

@ -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