From 84e6e4381293a97e74bb4de0c1d6ceafc3965af7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20B=C3=B6hm?= Date: Sun, 28 Jul 2024 19:14:08 +0200 Subject: [PATCH] Set default route to todos#index --- config/routes.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/routes.rb b/config/routes.rb index 0b2cfec..6b2bbdb 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -4,8 +4,8 @@ Rails.application.routes.draw do # Reveal health status on /up that returns 200 if the app boots with no exceptions, otherwise 500. # Can be used by load balancers and uptime monitors to verify that the app is live. - get "up" => "rails/health#show", as: :rails_health_check + get 'up' => 'rails/health#show', as: :rails_health_check # Defines the root path route ("/") - # root "posts#index" + root 'todos#index' end