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.92 config/routes/pd.rb
renalware-core-2.0.91 config/routes/pd.rb
renalware-core-2.0.90 config/routes/pd.rb
renalware-core-2.0.89 config/routes/pd.rb
renalware-core-2.0.88 config/routes/pd.rb
renalware-core-2.0.87 config/routes/pd.rb
renalware-core-2.0.86 config/routes/pd.rb
renalware-core-2.0.85 config/routes/pd.rb
renalware-core-2.0.84 config/routes/pd.rb
renalware-core-2.0.83 config/routes/pd.rb
renalware-core-2.0.82 config/routes/pd.rb
renalware-core-2.0.81 config/routes/pd.rb
renalware-core-2.0.80 config/routes/pd.rb
renalware-core-2.0.79 config/routes/pd.rb
renalware-core-2.0.78 config/routes/pd.rb
renalware-core-2.0.77 config/routes/pd.rb
renalware-core-2.0.76 config/routes/pd.rb
renalware-core-2.0.75 config/routes/pd.rb
renalware-core-2.0.74 config/routes/pd.rb
renalware-core-2.0.73 config/routes/pd.rb