Sha256: 9352d707d5e983a4268e8f5615921dcc2a88a8e71c2306a306e1703986011ab5
Contents?: true
Size: 699 Bytes
Versions: 87
Compression:
Stored size: 699 Bytes
Contents
# frozen_string_literal: true # Some safety-net routes in case we happen to fall through the above routes without a match. # For example, redirect to the HD dashboard if they hit just /hd/ # In theory we should only ever hit these routes if the user manually edits/enters the URL. get "/patients/:id/hd", to: redirect("/patients/%{id}/hd/dashboard") get "/patients/:id/pd", to: redirect("/patients/%{id}/pd/dashboard") get "/patients/:id/transplants", to: redirect("/patients/%{id}") get "/patients/:id/transplants/donor", to: redirect("/patients/%{id}/transplants/donor/dashboard") get "/patients/:id/transplants/recipient", to: redirect("/patients/%{id}/transplants/recipient/dashboard")
Version data entries
87 entries across 87 versions & 1 rubygems