Pass the request as an argument to the template.

--
Fabien Potencier
Sensio CEO - symfony lead developer
sensiolabs.com | symfony-project.org | fabien.potencier.org
Tél: +33 1 40 99 80 80

On 11/21/10 7:58 PM, Francis Besset wrote:
Hi all,

I am currently creating my project with Symfony2.
I started making templates with PHP but I want to migrate on Twig.

How can I access at the instance Request in the twig template?
With PHP there is $view['request'].


Thanks,
Francis.


--
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to