File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed
iiif_print/data/work_file Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -197,3 +197,6 @@ def attribute_will_change!(attr)
197197
198198# support for FileSetPresenter#content_location
199199Hyrax ::FileSetPresenter . include Extensions ::Hyrax ::FileSetPresenter ::ContentLocation
200+
201+ # patch iiif_print to handle external storage
202+ IiifPrint ::Data ::WorkFile . prepend Extensions ::IiifPrint ::Data ::WorkFile ::ExternalFileLocation
Original file line number Diff line number Diff line change 1+ # modified from iiif_print
2+ # uses version of find_or_retrieve that is aware of external storage
3+ module Extensions
4+ module IiifPrint
5+ module Data
6+ module WorkFile
7+ module ExternalFileLocation
8+ private
9+
10+ def checkout
11+ @fileset . find_or_retrieve
12+ end
13+ end
14+ end
15+ end
16+ end
17+ end
You can’t perform that action at this time.
0 commit comments