Add api/v1/parks

This commit is contained in:
2025-10-07 22:09:41 -07:00
parent f670c4e589
commit 16f851b721
4 changed files with 20 additions and 2 deletions

View File

@@ -1,4 +1,9 @@
Rails.application.routes.draw do
namespace :api do
namespace :v1 do
resources :parks, only: %i[index]
end
end
# Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html
# Reveal health status on /up that returns 200 if the app boots with no exceptions, otherwise 500.