On Sep 20, 2010, at 5:24 PM, [email protected] wrote: > For templates, 'url' is already defined. (Not 'h.url', just 'url'). > > I seem to have a problem when I call url thusly: > > url(controller='/foo', action='bar')
As Bruce mentioned, '/' is no longer necessary to ignore existing paramters. That's why it wasn't working as you noticed. If you want to use existing parameters, you now use: url.current(action='bar') The Routes CHANGELOG here documents all the changes, reading them before upgrades is always advised. http://routes.groovie.org/changes.html 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 [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.
