Class: Pumi::VillagesController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- Pumi::VillagesController
- Defined in:
- app/controllers/pumi/villages_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
3 4 5 |
# File 'app/controllers/pumi/villages_controller.rb', line 3 def index render(json: ResponseSerializer.new(Village.where(request.query_parameters))) end |