Method: Content::ProductsController#sync

Defined in:
app/controllers/content/products_controller.rb

#syncObject



36
37
38
39
40
41
# File 'app/controllers/content/products_controller.rb', line 36

def sync
  @product.sync
  process_success(:success_msg => _("Successfully started sync for %s") % @product.name)
rescue => e
  process_error(:error_msg => _("Failed to start sync for %s") % @product.name)
end