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.127 config/routes/hospitals.rb
renalware-core-2.0.126 config/routes/hospitals.rb
renalware-core-2.0.125 config/routes/hospitals.rb
renalware-core-2.0.124 config/routes/hospitals.rb
renalware-core-2.0.123 config/routes/hospitals.rb
renalware-core-2.0.121 config/routes/hospitals.rb
renalware-core-2.0.120 config/routes/hospitals.rb
renalware-core-2.0.119 config/routes/hospitals.rb
renalware-core-2.0.118 config/routes/hospitals.rb
renalware-core-2.0.117 config/routes/hospitals.rb
renalware-core-2.0.116 config/routes/hospitals.rb
renalware-core-2.0.115 config/routes/hospitals.rb
renalware-core-2.0.113 config/routes/hospitals.rb
renalware-core-2.0.112 config/routes/hospitals.rb
renalware-core-2.0.111 config/routes/hospitals.rb
renalware-core-2.0.110 config/routes/hospitals.rb
renalware-core-2.0.109 config/routes/hospitals.rb
renalware-core-2.0.108 config/routes/hospitals.rb
renalware-core-2.0.106 config/routes/hospitals.rb
renalware-core-2.0.105 config/routes/hospitals.rb