Redirect to own offers overview after deletion

This commit is contained in:
Jannis Portmann 2021-05-19 13:37:44 +02:00
parent 61dacf1671
commit e4c3aa17af

View file

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