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 <[email protected]> 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, [email protected] <
>
>
>
> [email protected]> 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 [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<pylons-discuss%[email protected]>
> > .
> > 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 [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