no redirect support

Bug #126270 reported by Aaron Swartz
2
Affects Status Importance Assigned to Milestone
Infogami
New
Undecided
Unassigned

Bug Description

There doesn't seem to be any way to redirect a page, like there is on other wikis.

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

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")}}

Revision history for this message
Aaron Swartz (aaronsw) 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.

Revision history for this message
Anand Chitipothu (anandology) wrote :

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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.