Sha256: 9d2a249b05a6e939f5855ca97650affbad7af67782452e5c950c8c8024a517e1
Contents?: true
Size: 808 Bytes
Versions: 7
Compression:
Stored size: 808 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 :events, only: [:new, :create, :edit, :update, :show] # 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
7 entries across 7 versions & 1 rubygems