瀏覽代碼

Correctif redirections

packProduct
Guillaume 3 年之前
父節點
當前提交
377f4a9c03
共有 1 個檔案被更改,包括 6 行新增2 行删除
  1. +6
    -2
      Controller/Order/CartController.php

+ 6
- 2
Controller/Order/CartController.php 查看文件

@@ -157,7 +157,9 @@ class CartController extends AbstractController
if ($referer) {
return $this->redirect($referer);
} else {
return $this->redirectToRoute('frontend_order_cart');
return $this->redirectToRoute('frontend_order_cart', [
'section' => $this->getSectionCurrentSlug()
]);
}
}

@@ -168,7 +170,9 @@ class CartController extends AbstractController
if ($referer) {
return $this->redirect($referer);
} else {
return $this->redirectToRoute('frontend_order_cart');
return $this->redirectToRoute('frontend_order_cart', [
'section' => $this->getSectionCurrentSlug()
]);
}
}
}

Loading…
取消
儲存