Skip to content

Commit

Permalink
Update generators to use new Valkyrie indexer API
Browse files Browse the repository at this point in the history
  • Loading branch information
marrus-sh committed Nov 15, 2023
1 parent 1700bc2 commit dbf8934
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

# Generated via
# `rails generate hyrax:collection_resource <%= class_name %>`
class <%= class_name %>Indexer < Hyrax::PcdmCollectionIndexer
class <%= class_name %>Indexer < Hyrax::Indexers::PcdmCollectionIndexer
include Hyrax::Indexer(:<%= file_name %>)
end
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Generated via
# `rails generate hyrax:work_resource <%= class_name %>`
class <%= class_name %>Indexer < Hyrax::ValkyrieWorkIndexer
class <%= class_name %>Indexer < Hyrax::Indexers::PcdmObjectIndexer(<%= class_name %>)
include Hyrax::Indexer(:basic_metadata)
include Hyrax::Indexer(:<%= file_name %>)

Expand Down

0 comments on commit dbf8934

Please sign in to comment.