1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Fix for tests

This commit is contained in:
Hillel Coren 2016-10-02 11:47:24 +03:00
parent 8e010e687c
commit de7ecbd3cb

View File

@ -152,7 +152,7 @@ class ProductController extends BaseController
$message = $productPublicId ? trans('texts.updated_product') : trans('texts.created_product');
Session::flash('message', $message);
return Redirect::to(ACCOUNT_PRODUCTS);
return Redirect::to("products/{$product->public_id}/edit");
}
/**