On May 30, 2010, at 12:09 PM, Wyatt Baldwin wrote: > Pylons injects a few things into the template context for you along > with `h`, including (off the top of my head) `url`, `config`, > `request`, and `response`. You don't need to prefix any of those with > `h.`. > > The full list of default template variables is here: > > http://pylonshq.com/docs/en/1.0/views/#default-template-variables
I've just updated this to reflect that 'url' is available globally in templates. Note that url() is called exactly like url_for was, however to use route memory, you use url.current(...), while url_for defaulted to using Route memory. Cheers, Ben -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylons-disc...@googlegroups.com. To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.