> My autohandler has some links in it like this:
> <% h.link_to('Products', h.url_for(action='products')) %>
>
> On my regular .myt files the h.link_to renders as I would expect, like
> this:
> <a href="/products">Products</a>
>
> But when 404.myt is rendered from the code in my modified
> ErrorController, the result for h.link_to is:
> <a href="/error/products">Products</a>
>
> How do I eliminate the '/error' prefix?
>
> Thanks,
> BillI'd wager that explicitly specifying the controller would do it, as I've gotten the impression that the controller is infered to the current controller (i.e. error in this case) if isn't specified. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
