From b141ea0f53e95a71c1253c6f07f01217337af0b8 Mon Sep 17 00:00:00 2001 From: Giso Stallenberg Date: Fri, 13 Dec 2024 10:27:58 +0100 Subject: [PATCH] Fix reference to ROUTE_LOADER_TYPE constant --- doc/dashboards.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/dashboards.rst b/doc/dashboards.rst index b6672e7125..f3455bff10 100644 --- a/doc/dashboards.rst +++ b/doc/dashboards.rst @@ -74,7 +74,7 @@ first in your application. To do so, create this file: .. note:: The ``easyadmin.routes`` string is also available as the PHP constant - ``EasyCorp\Bundle\EasyAdminBundle\Router::ROUTE_LOADER_TYPE``. + ``\EasyCorp\Bundle\EasyAdminBundle\Router\AdminRouteLoader::ROUTE_LOADER_TYPE``. Now, define the main route of your dashboard class using a PHP attribute in the ``index()`` method of that controller (if you don't have a Dashboard yet, you can