Implement alerts index

This commit is contained in:
2025-10-08 00:43:03 -07:00
parent 4c3ddc6175
commit 832164ead2
4 changed files with 23 additions and 3 deletions

View File

@@ -1,4 +1,9 @@
module Api::V1::Parks
class AlertsController < BaseController
before_action :set_park
def index
render json: @park.alerts
end
end
end