Sha256: f6b8bbf846c6bbfc356169202d47f05c5282bee8f53195dd857606b7e96e044b

Contents?: true

Size: 330 Bytes

Versions: 2

Compression:

Stored size: 330 Bytes

Contents

# frozen_string_literal: true

# OVERRIDE Hyrax v5.0.0rc2 to add schemas that are located in config/metadata/*.yaml

module IiifPrint
  module SimpleSchemaLoaderDecorator
    def config_search_paths
      super + [IiifPrint::Engine.root]
    end
  end
end
Hyrax::SimpleSchemaLoader.prepend(IiifPrint::SimpleSchemaLoaderDecorator)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
iiif_print-3.0.1 app/services/iiif_print/simple_schema_loader_decorator.rb
iiif_print-3.0.0 app/services/iiif_print/simple_schema_loader_decorator.rb