Skip to content
Snippets Groups Projects
Commit f49fe9c2 authored by user's avatar user
Browse files

Finalisation purchaseproof, init, home page/button

parent 082d3b6e
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,8 @@ namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
use App\Entity\PurchaseProof;
class HomeController extends AbstractController
{
......@@ -27,9 +29,14 @@ class HomeController extends AbstractController
}
if ($user) {
$links['My Wishlists'] = $this->generateUrl('app_wishlist_index');
$links['Profile'] = $this->generateUrl('user_profile');
$links['Logout'] = $this->generateUrl('logout');
dump($user->getId());
$links['See my purchase proofs'] = $this->generateUrl('user_purchase_proofs');
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment