Well, should it be changeable from the RestController? The normal behavior,
after deleting, would be such a redirect to the current URL.

I suppose options would be to submit a patch and test case making the
behavior optional, or subclassing RestController to make something new that
works the way you wish it to.

Aside from that, based on what you've provided, I have to think things are
working as they should.

On Mon, Aug 1, 2011 at 2:56 PM, Andronikos <[email protected]> wrote:

> Hi,
>
> When using the TG2.1 RestController and the post_delete interface,
> it seems we can't redirect. post_delete insists on just returning to the
> current url.
>
> Has anyone else encountered this issue and is there workaround ?
>
> Many Thanks,
> Andronikos
>
> --
> You received this message because you are subscribed to the Google Groups
> "TurboGears" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/turbogears/-/xPg3KG8quRsJ.
> 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/turbogears?hl=en.
>



-- 
Michael J. Pedersen
My IM IDs: Jabber/[email protected], AIM/pedermj022171
          Yahoo/pedermj2002, MSN/[email protected]
My LinkedIn Profile: http://www.linkedin.com/in/michaeljpedersen
Twitter: pedersentg

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en.

Reply via email to