Files
national-parks-api/app/controllers/api/v1/parks/alerts_controller.rb
2025-10-08 00:43:03 -07:00

10 lines
157 B
Ruby

module Api::V1::Parks
class AlertsController < BaseController
before_action :set_park
def index
render json: @park.alerts
end
end
end