I vote for url() and path() without namespace

the user is a bit more controversial as a UserController would want to have 
a specific user to be used in the template. So here i propose to add the 
security context instead of the user to the templates.

@Lukas we all understand its possible with the view layer by injecting the 
container to the view and set the common variables there, but i think its a 
bad idea because of the container gets injected and it makes the 
functionality depend on the view layer which is supposed to be a convenience 
layer that can be used optionally :)

-- 
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

Reply via email to