diff --git a/src/Controller/TradeController.php b/src/Controller/TradeController.php index 7ad58da..078e745 100644 --- a/src/Controller/TradeController.php +++ b/src/Controller/TradeController.php @@ -34,6 +34,7 @@ class TradeController extends AbstractController ->htmlTemplate('user/trade/offer_email.html.twig') ->context([ 'user' => $user, + 'id' => $offer->getByUser()->getId(), 'userOffersLink' => $this->generateUrl('user_public', [ 'id' => $offer->getByUser()->getId(), ], UrlGeneratorInterface::ABSOLUTE_URL) diff --git a/templates/user/trade/offer_email.html.twig b/templates/user/trade/offer_email.html.twig index c7da0a7..18c3139 100644 --- a/templates/user/trade/offer_email.html.twig +++ b/templates/user/trade/offer_email.html.twig @@ -1,5 +1,5 @@
Checkout {{ user.username}}'s offers:
-Link +LinkReply to this email to start trading.
\ No newline at end of file