app/indexers/object_indexer.rb
def file_set_iiif_manifests
      object.ordered_members.to_a.map do |fs|
        file = fs.files.first
        next if file.blank?

        if Rails.configuration.try(:external_iiif_url)
          "#{Rails.configuration.external_iiif_url}#{CGI.escape(file.id)}/info.json"
        else
          Riiif::Engine.routes.url_helpers.info_path(file.id)
        end
      end
    end
# Define Rails.configuration.external_iiif_url to index against an external
# iiif service
Define Rails.configuration.external_iiif_url to index against an external
iiif service
Define Rails . configuration . external_iiif_url to index against an external iiif service
def file_set_iiif_manifests
      object.ordered_members.to_a.map do |fs|
        file = fs.files.first
        next if file.blank?
        if Rails.configuration.try(:external_iiif_url)
          "#{Rails.configuration.external_iiif_url}#{CGI.escape(file.id)}/info.json"
        else
          Riiif::Engine.routes.url_helpers.info_path(file.id)
        end
      end
    end
def file_set_iiif_manifests object . ordered_members . to_a . map do | fs | file = fs . files . first next if file . blank? if Rails . configuration . try ( :external_iiif_url ) "#{Rails.configuration.external_iiif_url}#{CGI.escape(file.id)}/info.json" else Riiif :: Engine . routes . url_helpers . info_path ( file . id ) end end end
Define Rails.configuration.external_iiif_url to index against an external
iiif service
Define Rails . configuration . external_iiif_url to index against an external iiif service