--- Bogdan Lucaciu <[EMAIL PROTECTED]> wrote:

> On Mon, 2006-09-18 at 15:44 -0700, John Napiorkowski
> wrote:
> > > >
> > > > Doing a $c->detach('/end') after the redirect
> was
> > > > suggested to me, although I find this can give
> an
> > > > error since my default end action looks for a
> > > template
> > > > which is this case doesn't exist.
> > > >
> 
> Using the DefaultEnd plugin or the RenderView action
> class will handle
> redirects for you.
> 
> Snip from thei source of
> Catalyst::Action::RenderView:
>       return 1 if $c->response->status =~
> /^(?:204|3\d\d)$/;
> 
> more info:
>
http://search.cpan.org/~mramberg/Catalyst-Action-RenderView-0.04/lib/Catalyst/Action/RenderView.pm
> 
> You still have to do the detach , of course.

Okay, that worked fined.  Another reason to update all
my Root end actions to RenderView.

--john


> 
> 
> -- 
> Bogdan Lucaciu <[EMAIL PROTECTED]>
> 
> 
> _______________________________________________
> List: [email protected]
> Listinfo:
> http://lists.rawmode.org/mailman/listinfo/catalyst
> Searchable archive:
>
http://www.mail-archive.com/[email protected]/
> Dev site: http://dev.catalyst.perl.org/
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to