Class: Decidim::UpdateSearchIndexesJob

Inherits:
ApplicationJob
  • Object
show all
Defined in:
decidim-core/app/jobs/decidim/update_search_indexes_job.rb

Instance Method Summary collapse

Instance Method Details

#perform(elements) ⇒ Object



7
8
9
# File 'decidim-core/app/jobs/decidim/update_search_indexes_job.rb', line 7

def perform(elements)
  elements.each { |element| element.try(:try_update_index_for_search_resource) }
end