Sha256: 0587b5301cb95822389520d12f433fb84286ab452a36adb7bc3380bf4e156831

Contents?: true

Size: 1.16 KB

Versions: 40

Compression:

Stored size: 1.16 KB

Contents

# frozen_string_literal: true

resources :patients, only: [] do
  namespace :pd do
    resource :dashboard, only: :show
    resources :apd_regimes,
              controller: "regimes",
              type: "PD::APDRegime",
              only: [:new, :create, :edit, :update, :show]
    resources :capd_regimes,
              controller: "regimes",
              type: "PD::CAPDRegime",
              only: [:new, :create, :edit, :update, :show]
    resources :regimes, only: [:new, :create, :edit, :update, :show]
    resources :peritonitis_episodes, only: [:new, :create, :show, :edit, :update]
    resources :exit_site_infections, only: [:new, :create, :show, :edit, :update]
    resources :pet_adequacy_results, except: [:destroy]
    resources :assessments, except: [:index, :destroy]
    resources :training_sessions, except: [:index, :destroy]
    resource :mdm, only: :show, controller: "mdm"
  end
end

namespace :pd do
  resources :bag_types, except: [:show]
  resources :infection_organisms
  resources :mdm_patients, only: :index
  constraints(named_filter: /(on_worryboard)/) do
    get "mdm_patients/:named_filter", to: "mdm_patients#index", as: :filtered_mdm_patients
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
renalware-core-2.0.113 config/routes/pd.rb
renalware-core-2.0.112 config/routes/pd.rb
renalware-core-2.0.111 config/routes/pd.rb
renalware-core-2.0.110 config/routes/pd.rb
renalware-core-2.0.109 config/routes/pd.rb
renalware-core-2.0.108 config/routes/pd.rb
renalware-core-2.0.106 config/routes/pd.rb
renalware-core-2.0.105 config/routes/pd.rb
renalware-core-2.0.104 config/routes/pd.rb
renalware-core-2.0.103 config/routes/pd.rb
renalware-core-2.0.102 config/routes/pd.rb
renalware-core-2.0.101 config/routes/pd.rb
renalware-core-2.0.100 config/routes/pd.rb
renalware-core-2.0.99 config/routes/pd.rb
renalware-core-2.0.98 config/routes/pd.rb
renalware-core-2.0.97 config/routes/pd.rb
renalware-core-2.0.96 config/routes/pd.rb
renalware-core-2.0.95 config/routes/pd.rb
renalware-core-2.0.94 config/routes/pd.rb
renalware-core-2.0.93 config/routes/pd.rb