By leaving out the context you are effectively registering those views to *any* context, which is almost always undesirable.
Regardless, my previous reply remains correct, if you want the path hanging off of /, simply use resource_url(request.root, request) and resource_url(request.root, request, 'history'). request.root is the root context, thus the context used for views hanging off of /. Michael On Fri, Mar 4, 2011 at 12:56 PM, Chris Withers <ch...@simplistix.co.uk>wrote: > On 02/03/2011 00:48, Michael Merickel wrote: > >> I noticed in your example you aren't specifying a context= or for_= in >> the view_config, implying you maybe intended to use route_name instead >> of name with url dispatch. >> > > Nope, no routes here, these are just views hanging off /, not registered > against any context... > > > cheers, > > Chris > > -- > Simplistix - Content Management, Batch Processing & Python Consulting > - http://www.simplistix.co.uk > -- You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email to pylons-devel@googlegroups.com. To unsubscribe from this group, send email to pylons-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-devel?hl=en.