Sha256: bc25b2fc8a016c91bdfe7cac7bc6b95c7f88baee04aa30b28462c061abfdac82

Contents?: true

Size: 730 Bytes

Versions: 64

Compression:

Stored size: 730 Bytes

Contents

# frozen_string_literal: true

resources :patients, only: [] do
  resources :prescriptions, controller: "medications/prescriptions", except: [:destroy]
  namespace :medications do
    namespace :home_delivery do
      resources :prescriptions,
                only: [:index],
                constraints: { format: /(pdf)/ },
                defaults: { format: :pdf }
    end
    resources :prescriptions, only: [] do
      resource :termination, only: [:new, :create]
    end
  end
end

namespace :medications do
  # medications_esa_prescriptions => /medications/esa_prescriptions
  resources :esa_prescriptions,
            only: :index,
            drug_type_name: :esa,
            controller: "drug_types/prescriptions"
end

Version data entries

64 entries across 64 versions & 1 rubygems

Version Path
renalware-core-2.0.139 config/routes/medications.rb
renalware-core-2.0.138 config/routes/medications.rb
renalware-core-2.0.137 config/routes/medications.rb
renalware-core-2.0.136 config/routes/medications.rb
renalware-core-2.0.135 config/routes/medications.rb
renalware-core-2.0.134 config/routes/medications.rb
renalware-core-2.0.133 config/routes/medications.rb
renalware-core-2.0.132 config/routes/medications.rb
renalware-core-2.0.131 config/routes/medications.rb
renalware-core-2.0.130 config/routes/medications.rb
renalware-core-2.0.129 config/routes/medications.rb
renalware-core-2.0.128 config/routes/medications.rb
renalware-core-2.0.127 config/routes/medications.rb
renalware-core-2.0.126 config/routes/medications.rb
renalware-core-2.0.125 config/routes/medications.rb
renalware-core-2.0.124 config/routes/medications.rb
renalware-core-2.0.123 config/routes/medications.rb
renalware-core-2.0.121 config/routes/medications.rb
renalware-core-2.0.120 config/routes/medications.rb
renalware-core-2.0.119 config/routes/medications.rb