On 9/6/07, A. Smart <[EMAIL PROTECTED]> wrote:
>
> Hi folks,
>
> I'm fiddling around with h.link_to and h.url_for - trying to
> understand the link creation stuff better.
>
> What I understood: h.link_to generates the HTML code, h.url_for
> generates the URL itself based on the routes configuration and the
> data I provide.
>
> What I was wondering which of both methods takes care about the
> creation of the ? parameters of a link and any encoding of the
> corrresponding parameters?
>
> How does routes handle the ? parameters of a url?

I believe it converts any keyword args that don't correspond to route
variables into query parameters.  I've got another Routes problem so I
can't test it right now.

-- 
Mike Orr <[EMAIL PROTECTED]>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to