Skip to content

Commit

Permalink
minor #3444 [Doc] Fixed some template paths (javiereguiluz)
Browse files Browse the repository at this point in the history
This PR was merged into the 3.0.x-dev branch.

Discussion
----------

[Doc] Fixed some template paths

Fixes #3440.

Commits
-------

73c4e22 [Doc] Fixed some template paths
  • Loading branch information
javiereguiluz committed Jul 2, 2020
2 parents 42fd7bb + 73c4e22 commit a025860
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/design.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,13 @@ must use a special syntax inside ``extends`` to avoid an infinite loop:

.. code-block:: twig
{# templates/bundles/EasyAdminBundle/page/layout.html.twig #}
{# templates/bundles/EasyAdminBundle/layout.html.twig #}
{# DON'T DO THIS: it will cause an infinite loop #}
{% extends '@EasyAdmin/page/layout.html.twig' %}
{% extends '@EasyAdmin/layout.html.twig' %}
{# DO THIS: the '!' symbol tells Symfony to extend from the original template #}
{% extends '@!EasyAdmin/page/layout.html.twig' %}
{% extends '@!EasyAdmin/layout.html.twig' %}
{% block sidebar %}
{# ... #}
Expand Down

0 comments on commit a025860

Please sign in to comment.