public function postEditNonRecurringProduct() { $id = Input::get('id', 0); // pr(Input::all()); $product = APNonRecurringProduct::find($id); $product->fill(Input::all()); if ($product->save()) { $this->notifySuccess("Product Updated."); } else { $this->notifyError("Product could not be updated."); } return Redirect::back(); }