Sha256: 0c2377a9be1f0c41534bc1395420a3dcb9058887514daf56bc080a49c0849e47

Contents?: true

Size: 224 Bytes

Versions: 99

Compression:

Stored size: 224 Bytes

Contents

module EgovUtils
  class OrganizationsController < ApplicationController

    def district_courts
      ids = params[:ids]
      render json: Organization.district_courts([ids].flatten).collect{|o| o.id }
    end

  end
end

Version data entries

99 entries across 99 versions & 1 rubygems

Version Path
egov_utils-1.5.0.alpha16 app/controllers/egov_utils/organizations_controller.rb
egov_utils-1.5.0.alpha15 app/controllers/egov_utils/organizations_controller.rb
egov_utils-1.5.0.alpha14 app/controllers/egov_utils/organizations_controller.rb
egov_utils-1.5.0.alpha13 app/controllers/egov_utils/organizations_controller.rb
egov_utils-1.5.0.alpha12 app/controllers/egov_utils/organizations_controller.rb
egov_utils-1.5.0.alpha11 app/controllers/egov_utils/organizations_controller.rb
egov_utils-1.5.0.alpha10 app/controllers/egov_utils/organizations_controller.rb
egov_utils-1.5.0.alpha9 app/controllers/egov_utils/organizations_controller.rb
egov_utils-1.5.0.alpha8 app/controllers/egov_utils/organizations_controller.rb
egov_utils-1.5.0.alpha7 app/controllers/egov_utils/organizations_controller.rb
egov_utils-1.5.0.alpha6 app/controllers/egov_utils/organizations_controller.rb
egov_utils-1.5.0.alpha5 app/controllers/egov_utils/organizations_controller.rb
egov_utils-1.5.0.alpha4 app/controllers/egov_utils/organizations_controller.rb
egov_utils-1.4.5 app/controllers/egov_utils/organizations_controller.rb
egov_utils-1.4.4 app/controllers/egov_utils/organizations_controller.rb
egov_utils-1.5.0.alpha3 app/controllers/egov_utils/organizations_controller.rb
egov_utils-1.5.0.alpha2 app/controllers/egov_utils/organizations_controller.rb
egov_utils-1.5.0.alpha1 app/controllers/egov_utils/organizations_controller.rb
egov_utils-1.4.3 app/controllers/egov_utils/organizations_controller.rb
egov_utils-1.4.2 app/controllers/egov_utils/organizations_controller.rb