SAND-framework/console/skel/symfony-app/src/Controller/AdminController.php
Emmanuel ROY 5e9bd26db2 Modification gitignore
TODO: créé les pages de blog (sommaire,news) permettant d'afficher les fichiers md
2020-04-01 14:44:36 +02:00

20 lines
469 B
PHP

<?php
namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\Routing\Annotation\Route;
class AdminController extends AbstractController
{
/**
* @Route("/symfony/admin", name="admin")
*/
public function adminAction()
{
// replace this example code with whatever you need
return $this->render('default/page.html.twig', [
'text' => 'admin',
]);
}
}