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