From ba8bcd21f334627d9ee801688e9f921eb0ce3a76 Mon Sep 17 00:00:00 2001 From: John Ferlito Date: Mon, 11 Dec 2023 10:42:47 +1100 Subject: [PATCH] Fix broken show route --- config/routes.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index f148e53a..62a08457 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -45,8 +45,9 @@ post 'exsite9' => 'collections#create_from_exsite9' post 'spreadsheet' => 'collections#create_from_spreadsheet' end - resources :items, except: %i[index] do + resources :items, except: %i[index show] do member do + get :show get 'ro-crate-metadata.json', to: 'items#show', as: 'rocrate', defaults: { format: :rocrate } get :display get :data