Include slug in root_url
This commit is contained in:
parent
022b58bb38
commit
a3f14f4fec
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user