Exemplo n.º 1
0
    Product.remove(model, function(err) {
      if (err) return show.alert(err);

      router.go('/products');
    });
Exemplo n.º 2
0
 Product.update(model, function(err) {
   if (err) return show.alert(err);
 });