Comment 3 for bug 126270

Revision history for this message
Anand Chitipothu (anandology) wrote : Re: [Bug 126270] no redirect support

On 16-Jul-07, at 1:34 PM, Aaron Swartz wrote:

>> We can expose web.redirect method and write a macro.
>>
>> {{Redirect("/newpage")}}
>
> I was thinking a type might be more appropriate. A macro seems weird
> because that gets rendered when the page is drawn and in a redirect
> you don't actually draw the page.

Even then the view template should do the job of redirecting at the
time of rendering.
I don't think adding a special case is a good idea.