[Catalyst] Problems forwarding to view

Peter Karman peter at peknet.com
Thu Aug 2 12:39:41 GMT 2007



Adeola Awoyemi wrote on 8/2/07 6:12 AM:
> Hi all,
> 
> I'm trying to use Catayst::View::XSLT and my end sub looks like this:
> 
> # from MyApp::Controller::Root
> sub end : Private {
>     my ( $c, $self ) = @_;
>     $c->forward( $c->view('XSLT') );
> }

my ($self, $c) = @_;

you got 'em reversed.

-- 
Peter Karman  .  http://peknet.com/  .  peter at peknet.com



More information about the Catalyst mailing list