Ok, I've found the change in a commit, the tag it's now a function:
{{ path( 'myroute' ) }}
It needs to be changed in the view documentation.
El 23/12/2010, a las 14:46, Jorge Fuertes escribió:
> Hi all.
>
> I've updated my Symfony2 sandbox from the master branch.
>
> After this update my bundle has stopped to work, beacause it cannot generate
> urls from the twig templates how it has been doing until now.
>
> The Symfony2 on screen error is:
>
> Unknown tag name "path" in /.../index.twig line 9
> 500 Internal Server Error - Twig_Error_Syntax
>
> In line 9 there is only an anchor with this href:
>
> {% path 'tabmenu' with ['id': '1'] %}
>
> It's a sandbox bug? Is happening only to me?
>
> The documentation is very clear at this point, the example:
>
> {% path 'hello' with ['name': 'Thomas'] %}
>
> Thanks in advance.
--
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 developers" 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-devs?hl=en