Class: Locomotive::Search::ContentTypeReindexer

Inherits:
Object
  • Object
show all
Defined in:
lib/locomotive/search/content_type_reindexer.rb

Instance Method Summary collapse

Instance Method Details

#perform(content_type_id) ⇒ Object



2
3
4
# File 'lib/locomotive/search/content_type_reindexer.rb', line 2

def perform(content_type_id)
  Locomotive::ContentType.find(content_type_id).reindex
end