> 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.
>> 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.
On 16-Jul-07, at 1:12 PM, Aaron Swartz wrote:
> Public bug reported:
>
> There doesn't seem to be any way to redirect a page, like there is on
> other wikis.
We can expose web.redirect method and write a macro.
{{Redirect( "/newpage" )}}