Some research into my third question:

I have figured out that when you call path() in twig any parameters that are 
not part of the route are added to the query string. And I've also figured 
out that I can call $this->get('request')->get('paramname') to get at one of 
those parameters.

So generating a path is agnostic as to whether the route chooses to make 
something a pretty parameter or not.

I am still unsure it is possible to write action methods agnostically. Does 
->get() work for the parameters that are in the URL? And is it OK to not 
declare them as arguments to the action method, so I don't have to update 
the action method every time I tweak the formatting of the route?

-- 
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 symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to