Skip to content

Commit

Permalink
🐛 Fix undefined local variable iiif_print
Browse files Browse the repository at this point in the history
There was a change in this version of IIIF Print that needed an update
to routes.rb.

Ref:
  - scientist-softserv/iiif_print#302
  • Loading branch information
kirkkwang committed Mar 21, 2024
1 parent d87e4ed commit ae46a17
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
concern :oai_provider, BlacklightOaiProvider::Routes.new

mount Hyrax::IiifAv::Engine, at: '/'
mount IiifPrint::Engine, at: '/'
mount Riiif::Engine => 'images', as: :riiif if Hyrax.config.iiif_image_server?

authenticate :user, ->(u) { u.superadmin? || u.admin? } do
Expand Down

0 comments on commit ae46a17

Please sign in to comment.