Skip to content

Commit

Permalink
bug #6645 Fix reference to ROUTE_LOADER_TYPE constant (gisostallenberg)
Browse files Browse the repository at this point in the history
This PR was merged into the 4.x branch.

Discussion
----------

Fix reference to ROUTE_LOADER_TYPE constant

Commits
-------

b141ea0 Fix reference to ROUTE_LOADER_TYPE constant
  • Loading branch information
javiereguiluz committed Dec 13, 2024
2 parents a66ae73 + b141ea0 commit 28dc420
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 28dc420

Please sign in to comment.