From e4c3aa17afa0681fbbe82a1c1974e4e2f0d2c56e Mon Sep 17 00:00:00 2001 From: thisfro Date: Wed, 19 May 2021 13:37:44 +0200 Subject: [PATCH] Redirect to own offers overview after deletion --- src/Controller/OfferController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Controller/OfferController.php b/src/Controller/OfferController.php index b1a1d67..b2f418d 100644 --- a/src/Controller/OfferController.php +++ b/src/Controller/OfferController.php @@ -134,10 +134,9 @@ class OfferController extends AbstractController 'success','Successfully removed offer!' ); - return $this->redirectToRoute('user_page'); + return $this->redirectToRoute('own_offers'); } throw new HttpException(403, "No permission"); - } }