1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
| <?php
namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\Routing\Annotation\Route;
use App\Entity\WebDialog;
use App\Entity\User;
use App\Entity\ItSkillsSurvey;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Form\Extension\Core\Type\TextType;
use Symfony\Component\Form\Extension\Core\Type\TextareaType;
use Symfony\Component\Form\Extension\Core\Type\SubmitType;
use Doctrine\Common\Persistence\ObjectManager;
class AppController extends AbstractController
{
/**
* @Route({"/index.html", "/", "/index", "/index.php", "/home"}, name="index")
*/
public function index()
{
return $this->render('app/index.html.twig', [
'Title' => 'Home'
]);
}
/**
* @Route("/personaldashboard", name="personaldashboard")
*/
public function personaldashboard(){
return $this->render('app/personaldashboard.html.twig', [
'Title' => 'Dashboard'
]);
} |
Partager