demarches-normaliennes/app/jobs/dossier_index_search_terms_job.rb

7 lines
157 B
Ruby

class DossierIndexSearchTermsJob < ApplicationJob
discard_on ActiveRecord::RecordNotFound
def perform(dossier)
dossier.index_search_terms
end
end