Part-DB.Part-DB-server/src/Controller/HomepageController.php

24 lines
528 B
PHP
Raw Normal View History

2019-02-23 22:41:13 +01:00
<?php
namespace App\Controller;
use App\Entity\Attachment;
use App\Entity\AttachmentType;
use App\Entity\Category;
use App\Entity\Part;
2019-02-23 22:41:13 +01:00
use App\Entity\StructuralDBElement;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
class HomepageController extends AbstractController
{
/**
* @Route("/", name="homepage")
2019-02-23 22:41:13 +01:00
*/
function homepage()
{
return $this->render('base.html.twig');
}
}