Is there any reason you are added / infront of foo?? On Mon, Sep 20, 2010 at 5:24 PM, jgard...@jonathangardner.net < jgard...@jonathangardner.net> 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') > > These used to work with the older version of Routes and with url_for. > > On Sep 20, 5:15 pm, Bruce Wade <bruce.w...@gmail.com> wrote: > > search and replace url_for to url > > add: from pylons import url to helpers > > > > :D > > > > On Mon, Sep 20, 2010 at 5:11 PM, jgard...@jonathangardner.net < > > > > > > > > jgard...@jonathangardner.net> wrote: > > > I've upgraded Routes from 1.10.3 to 1.12.3. Now, url_for isn't > > > working. It throws a GenerationException. > > > > > I've been programming on the same files for over a year now, so maybe > > > I missed something between then and now. I know url_for is largely > > > deprecated, but going through and repairing all the old references to > > > it is going to take a while. > > > > > Suggestions? > > > > > -- > > > 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<pylons-discuss%2bunsubscr...@googlegroups.com> > <pylons-discuss%2bunsubscr...@googlegroups.com<pylons-discuss%252bunsubscr...@googlegroups.com> > > > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/pylons-discuss?hl=en. > > > > -- > > -- > > Regards, > > Bruce Wadehttp:// > ca.linkedin.com/in/brucelwadehttp://www.wadecybertech.comhttp://www.warplydesigned.comhttp://www.fitnessfriendsfinder.com > > -- > 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<pylons-discuss%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/pylons-discuss?hl=en. > > -- -- Regards, Bruce Wade http://ca.linkedin.com/in/brucelwade http://www.wadecybertech.com http://www.warplydesigned.com http://www.fitnessfriendsfinder.com -- 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.