28 lines
544 B
PHP
28 lines
544 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Controller\Blog;
|
||
|
|
||
|
use App\Controller\Admin\AdminController;
|
||
|
use Symfony\Component\HttpFoundation\Response;
|
||
|
use Symfony\Component\Routing\Annotation\Route;
|
||
|
|
||
|
/**
|
||
|
* @Route("/admin/blog/post")
|
||
|
*/
|
||
|
class PostAdminController extends AdminController
|
||
|
{
|
||
|
/**
|
||
|
* @Route("/", name="admin_blog_post_index")
|
||
|
*/
|
||
|
public function index(): Response
|
||
|
{
|
||
|
return $this->render('blog/post_admin/index.html.twig', [
|
||
|
]);
|
||
|
}
|
||
|
|
||
|
public function getSection(): string
|
||
|
{
|
||
|
return 'blog_post';
|
||
|
}
|
||
|
}
|