Преглед на файлове

Correctif redirections

packProduct
Guillaume преди 2 години
родител
ревизия
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…
Отказ
Запис