Nicolas Raspail a écrit :
Quoting Matt S Trout <[EMAIL PROTECTED]>:
<
<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
_______________________________________________
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/