Redirect to own offers overview after deletion
This commit is contained in:
parent
61dacf1671
commit
e4c3aa17af
1 changed files with 1 additions and 2 deletions
|
@ -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");
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue