Skip to content

Fix base.html.twig path #10522

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 19, 2018
Merged

Fix base.html.twig path #10522

merged 1 commit into from
Oct 19, 2018

Conversation

quentint
Copy link
Contributor

To match Symfony 3.4 structure, as seen here: https://symfony.com/doc/3.4/templating.html

To match Symfony 3.4 structure, as seen here: https://symfony.com/doc/3.4/templating.html
@@ -82,7 +82,7 @@ your layout. In Symfony, use the ``asset()`` helper:

.. code-block:: twig

{# templates/base.html.twig #}
{# app/Resources/views/base.html.twig #}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

both are valid for 3.4 though.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

symfony new my_project 3.4 comes with app/Resources/views/base.html.twig, and the docs reference app/Resources/views/ a lot.

It makes more sense to me. Don't you think?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure! for consistency 👍

@javiereguiluz
Copy link
Member

@quentint you are right! In 3.4 branch we still show the old template path. Thanks for fixing this ... and congrats on your first Symfony Docs contribution!

@javiereguiluz javiereguiluz merged commit b572928 into symfony:3.4 Oct 19, 2018
javiereguiluz added a commit that referenced this pull request Oct 19, 2018
This PR was merged into the 3.4 branch.

Discussion
----------

Fix base.html.twig path

To match Symfony 3.4 structure, as seen here: https://symfony.com/doc/3.4/templating.html

Commits
-------

b572928 Fix base.html.twig path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants