added orm
This commit is contained in:
18
src/Controller/BlogController.php
Normal file
18
src/Controller/BlogController.php
Normal file
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\Controller;
|
||||
|
||||
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
use Symfony\Component\Routing\Annotation\Route;
|
||||
|
||||
class BlogController extends AbstractController
|
||||
{
|
||||
#[Route('/', name: 'blog')]
|
||||
public function index(): Response
|
||||
{
|
||||
return $this->render('blog/index.html.twig', [
|
||||
'controller_name' => 'BlogController',
|
||||
]);
|
||||
}
|
||||
}
|
0
src/Entity/.gitignore
vendored
Normal file
0
src/Entity/.gitignore
vendored
Normal file
0
src/Repository/.gitignore
vendored
Normal file
0
src/Repository/.gitignore
vendored
Normal file
Reference in New Issue
Block a user