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