diff --git a/app/jobs/reindex_item_job.rb b/app/jobs/reindex_item_job.rb new file mode 100644 index 00000000..c7b308fa --- /dev/null +++ b/app/jobs/reindex_item_job.rb @@ -0,0 +1,8 @@ +# frozen_string_literal: true + +class ReindexItemJob < ApplicationJob + def perform(item_id) + item = ActiveFedora::Base.find(item_id) + item.update_index + end +end