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.1.1 config/routes/hospitals.rb
renalware-core-2.1.0 config/routes/hospitals.rb
renalware-core-2.0.167 config/routes/hospitals.rb
renalware-core-2.0.166 config/routes/hospitals.rb
renalware-core-2.0.165 config/routes/hospitals.rb
renalware-core-2.0.164 config/routes/hospitals.rb
renalware-core-2.0.163 config/routes/hospitals.rb
renalware-core-2.0.162 config/routes/hospitals.rb
renalware-core-2.0.161 config/routes/hospitals.rb
renalware-core-2.0.160 config/routes/hospitals.rb
renalware-core-2.0.159 config/routes/hospitals.rb
renalware-core-2.0.158 config/routes/hospitals.rb
renalware-core-2.0.157 config/routes/hospitals.rb
renalware-core-2.0.156 config/routes/hospitals.rb
renalware-core-2.0.155 config/routes/hospitals.rb
renalware-core-2.0.153 config/routes/hospitals.rb
renalware-core-2.0.152 config/routes/hospitals.rb
renalware-core-2.0.151 config/routes/hospitals.rb
renalware-core-2.0.149 config/routes/hospitals.rb
renalware-core-2.0.148 config/routes/hospitals.rb