Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2511d35

Browse files
authored
Fix template reference
As written herehttps://symfony.com/doc/current/templating.html#referencing-templates-in-a-bundleit seems that `{% extends "@!FOSUserBundle/Registration/confirmed.html.twig" %}` is not correct.> @AcmeBlog/Blog/index.html.twig: This syntax is used to specify a template for a specific page. The three parts of the string, each > separated by a slash (/), mean the following:>> @AcmeBlog: is the bundle name without the Bundle suffix. This template lives in the AcmeBlogBundle (e.g. src/Acme/BlogBundle);
1 parent1702037 commit2511d35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎bundles/override.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ extend from the original template, not from the overridden one:
4545
4646
{# templates/bundles/FOSUserBundle/Registration/confirmed.html.twig #}
4747
{# the special '!' prefix avoids errors when extending from an overridden template #}
48-
{% extends "@!FOSUserBundle/Registration/confirmed.html.twig" %}
48+
{% extends "@!FOSUser/Registration/confirmed.html.twig" %}
4949
5050
{% block some_block %}
5151
...

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp