Modernize route syntax

Hash key path mapping is deprecated in:
https://github.com/rails/rails/pull/52422
This commit is contained in:
Jeffrey Hardy
2024-08-13 13:39:04 -04:00
parent 09cc76c4f7
commit 0c9a6baf2f
+1 -1
View File
@@ -8,5 +8,5 @@ Rails.application.routes.draw do
resources :categories, only: %i[new create]
end
get "up" => "rails/health#show", as: :rails_health_check
get "up", to: "rails/health#show", as: :rails_health_check
end