From 0889418912b7a84192fa8526e35ce21861152b6a Mon Sep 17 00:00:00 2001 From: Stephen Hulme Date: Mon, 9 Mar 2026 12:37:45 +0000 Subject: [PATCH] feat: add rails health endpoint --- config/routes.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index 7e723535..89c7aec5 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -67,7 +67,7 @@ get 'locations/info', to: 'locations#info' post 'labwares/searches', to: 'labwares/searches#create' post 'labwares/locations', to: 'labwares/locations#create' - + # This needs to be a post due to the number of barcodes that will be passed which is not possible with a get post 'labwares_by_barcode', to: 'labwares#by_barcode' @@ -111,4 +111,5 @@ match '/about', to: 'about#show', via: :get + get '/health' => 'rails/health#show', :as => :rails_health_check end