diff --git a/hyrax/app/helpers/bulkrax_helper.rb b/hyrax/app/helpers/bulkrax_helper.rb index 996117e2827de4ba8ac135920a00bd5eaffabf40..317620b37410aeee551d72f33e9a2ebaa9f035aa 100644 --- a/hyrax/app/helpers/bulkrax_helper.rb +++ b/hyrax/app/helpers/bulkrax_helper.rb @@ -3,7 +3,7 @@ module BulkraxHelper current_run = @importer.last_run if current_run&.failed_records&.positive? - ScheduleRelationshipsJob.set(wait: 5.minutes).perform_later(importer_id: @importer.id) + ::Bulkrax::ScheduleRelationshipsJob.set(wait: 5.minutes).perform_later(importer_id: @importer.id) @importer.status_info('Pending') @importer.entries.each do |entry| @@ -43,7 +43,7 @@ module BulkraxHelper current_run.save elsif current_run && @importer.parser.total.positive? && current_run.processed_records.zero? - Bulkrax::ImporterJob.send( + ::Bulkrax::ImporterJob.send( @importer.parser.perform_method, @importer.id )