[Catalyst] Change the default view

Dermot paikkos at googlemail.com
Mon Nov 3 14:20:15 GMT 2008


2008/11/3 Zbigniew Lukasiak <zzbbyy at gmail.com>:

>>        return 1;
>
> replace this with  $c->response->body( 1 ). If the response body is
> set then RenderView does not call the view to generate it.

Brilliant. Thanx.
Dp.



More information about the Catalyst mailing list