Skip to content

Commit d737a8c

Browse files
committed
[TwigComponent] Fix typo in docs
1 parent 0dfc029 commit d737a8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -884,7 +884,7 @@ via the ``outerBlocks`` variable and forward it into ``Alert``:
884884
885885
{# templates/SuccessAlert.html.twig #}
886886
{% component Alert with { type: 'success' } %}
887-
{% block content %}{{ blocks(outerBlocks.content) }}{% endblock %}
887+
{% block content %}{{ block(outerBlocks.content) }}{% endblock %}
888888
{% endcomponent %}
889889
890890
Note that to pass a block multiple components down, each component needs to pass it.

0 commit comments

Comments
 (0)