Display big category tree on route /category/ without parameter #57

Merged
krzysiej merged 2 commits from feature/category-tree into master 2026-01-27 08:59:18 +01:00
Showing only changes of commit 5696f23f3d - Show all commits

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()) {