18 lines
372 B
PHP
18 lines
372 B
PHP
<?php
|
|
|
|
namespace AppBundle\Controller;
|
|
|
|
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
|
|
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
|
|
|
|
class DefaultController extends Controller
|
|
{
|
|
/**
|
|
* @Route("/app/example", name="homepage")
|
|
*/
|
|
public function indexAction()
|
|
{
|
|
return $this->render('default/index.html.twig');
|
|
}
|
|
}
|