[Catalyst] XML RPC Server and RenderView
Nicolas Raspail
nicolas.raspail at whisperingvault.net
Mon Aug 27 18:56:50 GMT 2007
Nicolas Raspail a écrit :
> Quoting Matt S Trout <dbix-class at trout.me.uk>:
> <
> <snip>
>>
>> I'd do -
>>
>> sub end :Private {
>> my ($self, $c) = @_;
>> $c->forward('render') unless $c->req->xmlrpc->is_xmlrpc_request;
>> }
>>
>> sub render :ActionClass('RenderView') { }
>>
>> Seems a bit cleaner than your approach.
>
Hi Matt,
thanks for the tip, it works fine
Nicolas
PS: I have made a mistake and send this email only to Mattt
More information about the Catalyst
mailing list