Skip to content

Commit

Permalink
Fix broken show route
Browse files Browse the repository at this point in the history
  • Loading branch information
johnf committed Dec 10, 2023
1 parent 974680d commit ba8bcd2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ba8bcd2

Please sign in to comment.