Implement alerts index
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
module Api::V1::Parks
|
||||
class AlertsController < BaseController
|
||||
before_action :set_park
|
||||
|
||||
def index
|
||||
render json: @park.alerts
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user