Skip to content
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

Improved the description of the Twig global variables #6535

Closed
wants to merge 2 commits into from

Conversation

javiereguiluz
Copy link
Member

I was reading this section and I realized that these variables weren't explained but just described with "useless" descriptions. I propose to explain them more deeply.

``app.user``
The current user object.
The representation of the current user or ``null`` if there is none. The
value stored in this variable can be a :class:`Symfony\Component\Security\Core\User\UserInterface`
Copy link
Member

Choose a reason for hiding this comment

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

the backslashes have to be doubled

@wouterj
Copy link
Member

wouterj commented May 5, 2016

Apart from the syntax issues, 👍

@javiereguiluz
Copy link
Member Author

Fixed the syntax issues. Thanks for the review!

xabbuh added a commit that referenced this pull request May 9, 2016
…viereguiluz)

This PR was squashed before being merged into the 2.3 branch (closes #6535).

Discussion
----------

Improved the description of the Twig global variables

I was reading this section and I realized that these variables weren't explained but just described with "useless" descriptions. I propose to explain them more deeply.

Commits
-------

1873b67 Improved the description of the Twig global variables
@xabbuh
Copy link
Member

xabbuh commented May 9, 2016

Great improvements, Javier! 👍

@xabbuh xabbuh closed this May 9, 2016
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.

None yet

3 participants