浏览代码

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()
]);
}
}
}

正在加载...
取消
保存