Class: Pumi::VillagesController

Inherits:
ActionController::Base
  • Object
show all
Defined in:
app/controllers/pumi/villages_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



3
4
5
# File 'app/controllers/pumi/villages_controller.rb', line 3

def index
  render(json: ResponseSerializer.new(Village.where(request.query_parameters)))
end