scientist-softserv / iiif_print

A gem for Hyrax/Samvera for displaying PDF pages in a IIIF Compliant viewer
Apache License 2.0
4 stars 1 forks source link

🧹 Correct transactions names and set condition #328

Closed kirkkwang closed 8 months ago

kirkkwang commented 8 months ago

This commit will fix names since it changed somewhere along the way. The set child flag was being called when IIIF Print was not being used which resulted in an error. This commit will set the condition to only call if the HYKU_IIIF_PRINT env var is true.

otherwise an error like this occurs: Screenshot 2024-02-01 at 14-46-40 Action Controller Exception caught