[Catalyst] Re: $c->res->body vs $c->forward(Myapp::V::Mason)
    Kevin Old 
    kevinold at gmail.com
       
    Wed Sep 21 21:43:39 CEST 2005
    
    
  
On 9/21/05, Kevin Old <kevinold at gmail.com> wrote:
> Hello everyone,
[snip]
>     else {
>         $c->stash->{template} = 'comps/visits_tbl_test.mas';
>         $c->forward('IVR::V::Mason');
>     }
The solution (from the guys on #catalyst) was to change the above code to this:
else {
        $c->stash->{template} = 'comps/visits_tbl.mas';
        $c->res->content_type( 'text/plain' );
        $c->forward('IVR::V::Mason');;
    }
Thanks to everyone for their help.
Kevin
--
Kevin Old
kevinold at gmail.com
    
    
More information about the Catalyst
mailing list