Sha256: bae3fbe1d16d3d39b1ea1fcc88da7f1f25614f20b921aebd038caa8a33443640

Contents?: true

Size: 226 Bytes

Versions: 92

Compression:

Stored size: 226 Bytes

Contents

# frozen_string_literal: true

namespace :hospitals do
  resources :units, except: :show do
    resources :wards
    scope format: true, constraints: { format: :json } do
      resources :wards, only: :index
    end
  end
end

Version data entries

92 entries across 92 versions & 1 rubygems

Version Path
renalware-core-2.0.147 config/routes/hospitals.rb
renalware-core-2.0.146 config/routes/hospitals.rb
renalware-core-2.0.145 config/routes/hospitals.rb
renalware-core-2.0.144 config/routes/hospitals.rb
renalware-core-2.0.143 config/routes/hospitals.rb
renalware-core-2.0.142 config/routes/hospitals.rb
renalware-core-2.0.141 config/routes/hospitals.rb
renalware-core-2.0.140 config/routes/hospitals.rb
renalware-core-2.0.139 config/routes/hospitals.rb
renalware-core-2.0.138 config/routes/hospitals.rb
renalware-core-2.0.137 config/routes/hospitals.rb
renalware-core-2.0.136 config/routes/hospitals.rb
renalware-core-2.0.135 config/routes/hospitals.rb
renalware-core-2.0.134 config/routes/hospitals.rb
renalware-core-2.0.133 config/routes/hospitals.rb
renalware-core-2.0.132 config/routes/hospitals.rb
renalware-core-2.0.131 config/routes/hospitals.rb
renalware-core-2.0.130 config/routes/hospitals.rb
renalware-core-2.0.129 config/routes/hospitals.rb
renalware-core-2.0.128 config/routes/hospitals.rb