Display big category tree on route /category/ without parameter

This commit was merged in pull request #57.
This commit is contained in:
2026-01-27 08:56:54 +01:00
parent 9f368a266a
commit 5696f23f3d

View File

@@ -8,7 +8,7 @@ use Symfony\Component\Routing\Attribute\Route;
final class CategoryController extends BaseController
{
#[Route('/category/{category?}', name: 'app_category', defaults: ["category" => null])]
#[Route('/category/{category?}', name: 'app_category')]
public function __invoke(?string $category): Response
{
if($this->cache->getItem('list_category_'.$category)->isHit()) {