Skip to content

Commit 8745fbc

Browse files
committed
minor symfony#10950 FOSUserBundle overwritten (arthur-nora)
This PR was submitted for the 4.2 branch but it was merged into the 4.1 branch instead (closes symfony#10950). Discussion ---------- FOSUserBundle overwritten I had to use "FOSUser" and not "FOSUserBundle" when overwriting the The Default login.html.twig, otherwise Symfony would raise the " there are no registered paths for namespace "!FOSUserBundle"" error. <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- b390ed4 FOSUserBundle overwritten
2 parents b14e126 + b390ed4 commit 8745fbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bundles/override.rst

+1-1
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)