From 83525612cffab695811e696f4fdcd010a52e6fe3 Mon Sep 17 00:00:00 2001 From: TemuulenBM Date: Fri, 10 Nov 2023 18:03:00 +0800 Subject: [PATCH] fixed product details controller --- addon/controllers/products/index/details.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addon/controllers/products/index/details.js b/addon/controllers/products/index/details.js index 69ae8703..fb5330e9 100644 --- a/addon/controllers/products/index/details.js +++ b/addon/controllers/products/index/details.js @@ -20,14 +20,14 @@ export default class ProductsIndexDetailsController extends Controller { @tracked queryParams = ['view']; /** - * Transitions back to the "management.products.index" route. + * Transitions back to the "products.index" route. * * @method * @action * @returns {Transition} The transition object representing the route change. */ @action transitionBack() { - return this.transitionToRoute('management.products.index'); + return this.transitionToRoute('products.index'); } /** @@ -39,7 +39,7 @@ export default class ProductsIndexDetailsController extends Controller { * @returns {Transition} The transition object representing the route change. */ @action onEdit(product) { - return this.transitionToRoute('management.products.index.edit', product); + return this.transitionToRoute('products.index.edit', product); } /**