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