Class: EgovUtils::OrganizationsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- ApplicationController
- EgovUtils::OrganizationsController
- Defined in:
- app/controllers/egov_utils/organizations_controller.rb
Instance Method Summary collapse
Instance Method Details
#district_courts ⇒ Object
4 5 6 7 |
# File 'app/controllers/egov_utils/organizations_controller.rb', line 4 def district_courts ids = params[:ids] render json: Organization.district_courts([ids].flatten).collect{|o| o.id } end |