Browse Source

Correctif redirections

packProduct
Guillaume 3 years ago
parent
commit
377f4a9c03
1 changed files with 6 additions and 2 deletions
  1. +6
    -2
      Controller/Order/CartController.php

+ 6
- 2
Controller/Order/CartController.php View File

if ($referer) { if ($referer) {
return $this->redirect($referer); return $this->redirect($referer);
} else { } else {
return $this->redirectToRoute('frontend_order_cart');
return $this->redirectToRoute('frontend_order_cart', [
'section' => $this->getSectionCurrentSlug()
]);
} }
} }


if ($referer) { if ($referer) {
return $this->redirect($referer); return $this->redirect($referer);
} else { } else {
return $this->redirectToRoute('frontend_order_cart');
return $this->redirectToRoute('frontend_order_cart', [
'section' => $this->getSectionCurrentSlug()
]);
} }
} }
} }

Loading…
Cancel
Save