Don't use primary key for offers
This commit is contained in:
parent
539b7edffe
commit
d190971718
8 changed files with 65 additions and 15 deletions
|
@ -49,6 +49,6 @@ class TradeController extends AbstractController
|
|||
$this->addFlash('error','You can\'t trade with yourself!');
|
||||
}
|
||||
|
||||
return $this->redirectToRoute('show_offer', ['id' => $offer->getId()]);
|
||||
return $this->redirectToRoute('show_offer', ['urlId' => $offer->getId()]);
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue