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