27 lines
534 B
PHP
27 lines
534 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Controller;
|
||
|
|
||
|
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
||
|
use Symfony\Component\HttpFoundation\Response;
|
||
|
use Symfony\Component\Routing\Annotation\Route;
|
||
|
|
||
|
/**
|
||
|
* Class DefaultController
|
||
|
*
|
||
|
* @package App\Controller
|
||
|
*/
|
||
|
class DefaultController extends AbstractController
|
||
|
{
|
||
|
/**
|
||
|
* This render test template that uses vueJS
|
||
|
*
|
||
|
* @Route("/default", name="default")
|
||
|
*/
|
||
|
public function app(): Response
|
||
|
{
|
||
|
return $this->render('default/app.html.twig');
|
||
|
}
|
||
|
}
|
||
|
|