Add stub of alerts route

This commit is contained in:
2025-10-08 00:07:53 -07:00
parent 6b5d069729
commit 8937ca9fc9
4 changed files with 26 additions and 1 deletions

View File

@@ -1,7 +1,9 @@
Rails.application.routes.draw do
namespace :api do
namespace :v1 do
resources :parks, only: %i[index show], param: :code
resources :parks, only: %i[index show], param: :code do
resources :alerts, only: %i[index]
end
end
end
# Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html