Skip to content

Commit

Permalink
Fix reference to ROUTE_LOADER_TYPE constant
Browse files Browse the repository at this point in the history
  • Loading branch information
gisostallenberg authored Dec 13, 2024
1 parent 150e6cb commit b141ea0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/dashboards.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b141ea0

Please sign in to comment.