Add api/v1/parks
This commit is contained in:
5
app/controllers/api/v1/parks_controller.rb
Normal file
5
app/controllers/api/v1/parks_controller.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class Api::V1::ParksController < ApplicationController
|
||||
def index
|
||||
render json: Park.all
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user