Class: Pumi::ProvincesController

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

Instance Method Summary collapse

Instance Method Details

#indexObject



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

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