[Catalyst] logging in - redirecting

Octavian Rasnita orasnita at gmail.com
Wed Dec 27 17:45:05 GMT 2006


From: "Juan Miguel Paredes" <juan.paredes at gmail.com>

> Also, maybe you would like something as:
>
> sub end : ActionClass('RenderView') {
>  $c->forward( $c->view('TT') ) unless $c->response->body; #note the unless
> }
>

Oh, and I have also seen that with the Catalyst testing server it happends 
the same as before if I do this.

If I run it with -k parameter it works fine (as before), but if I run it 
with no parameters, it gives the 404 Not Found error (just like Apache 
does).

Thanks.

Octavian




More information about the Catalyst mailing list